File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ impl Secp256k1Blake160MultisigAllScriptHandler {
42
42
impl ScriptHandler for Secp256k1Blake160MultisigAllScriptHandler {
43
43
fn build_transaction (
44
44
& self ,
45
- tx_data : & mut TransactionBuilder ,
45
+ tx_builder : & mut TransactionBuilder ,
46
46
script_group : & ScriptGroup ,
47
47
context : & dyn HandlerContext ,
48
48
) -> Result < bool , TxBuilderError > {
@@ -53,10 +53,10 @@ impl ScriptHandler for Secp256k1Blake160MultisigAllScriptHandler {
53
53
. as_any ( )
54
54
. downcast_ref :: < Secp256k1Blake160MultisigAllScriptContext > ( )
55
55
{
56
- tx_data . dedup_cell_deps ( self . cell_deps . clone ( ) ) ;
56
+ tx_builder . dedup_cell_deps ( self . cell_deps . clone ( ) ) ;
57
57
let index = script_group. input_indices . first ( ) . unwrap ( ) ;
58
58
let witness = args. multisig_config . placeholder_witness ( ) ;
59
- tx_data . set_witness ( * index, witness. as_bytes ( ) . pack ( ) ) ;
59
+ tx_builder . set_witness ( * index, witness. as_bytes ( ) . pack ( ) ) ;
60
60
Ok ( true )
61
61
} else {
62
62
Ok ( false )
You can’t perform that action at this time.
0 commit comments