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('