File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def signet_txs(block, challenge):
66
66
67
67
return spend , to_spend
68
68
69
- def do_decode_psbt (b64psbt ):
69
+ def decode_psbt (b64psbt ):
70
70
psbt = PSBT .from_base64 (b64psbt )
71
71
72
72
assert len (psbt .tx .vin ) == 1
@@ -166,7 +166,7 @@ def do_genpsbt(args):
166
166
print (psbt )
167
167
168
168
def do_solvepsbt (args ):
169
- block , signet_solution = do_decode_psbt (sys .stdin .read ())
169
+ block , signet_solution = decode_psbt (sys .stdin .read ())
170
170
block = finish_block (block , signet_solution , args .grind_cmd )
171
171
print (block .serialize ().hex ())
172
172
@@ -398,7 +398,7 @@ def do_generate(args):
398
398
logging .debug ("Generated PSBT: %s" % (psbt ,))
399
399
sys .stderr .write ("PSBT signing failed\n " )
400
400
return 1
401
- block , signet_solution = do_decode_psbt (psbt_signed ["psbt" ])
401
+ block , signet_solution = decode_psbt (psbt_signed ["psbt" ])
402
402
block = finish_block (block , signet_solution , args .grind_cmd )
403
403
404
404
# submit block
You can’t perform that action at this time.
0 commit comments