From f1f95dbbabcf5a48f29bda1dd2a10afb44ebe72e Mon Sep 17 00:00:00 2001 From: "Anton \"TonyL\" Lysakov" Date: Fri, 15 May 2020 15:57:25 +0700 Subject: [PATCH] Update mm2lib.py --- lib/mm2lib.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/mm2lib.py b/lib/mm2lib.py index da2e6a3..81adb65 100644 --- a/lib/mm2lib.py +++ b/lib/mm2lib.py @@ -7,6 +7,10 @@ def payment_script(time_lock, secret_hash, pub_0, pub_1): + """ + this function making payment script for mm2 atomic swap + ported from mm2 rust code + """ return CScript([OP_IF, struct.pack('