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):
6666
6767 return spend , to_spend
6868
69- def do_decode_psbt (b64psbt ):
69+ def decode_psbt (b64psbt ):
7070 psbt = PSBT .from_base64 (b64psbt )
7171
7272 assert len (psbt .tx .vin ) == 1
@@ -166,7 +166,7 @@ def do_genpsbt(args):
166166 print (psbt )
167167
168168def do_solvepsbt (args ):
169- block , signet_solution = do_decode_psbt (sys .stdin .read ())
169+ block , signet_solution = decode_psbt (sys .stdin .read ())
170170 block = finish_block (block , signet_solution , args .grind_cmd )
171171 print (block .serialize ().hex ())
172172
@@ -398,7 +398,7 @@ def do_generate(args):
398398 logging .debug ("Generated PSBT: %s" % (psbt ,))
399399 sys .stderr .write ("PSBT signing failed\n " )
400400 return 1
401- block , signet_solution = do_decode_psbt (psbt_signed ["psbt" ])
401+ block , signet_solution = decode_psbt (psbt_signed ["psbt" ])
402402 block = finish_block (block , signet_solution , args .grind_cmd )
403403
404404 # submit block
You can’t perform that action at this time.
0 commit comments