Skip to content

Commit 6fe0d86

Browse files
committed
update fix
1 parent fa01ccd commit 6fe0d86

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/transaction/mod.rs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::{tx_builder::TxBuilderError, NetworkInfo};
1+
use crate::{constants::MultisigScript, tx_builder::TxBuilderError, NetworkInfo};
22

33
use self::{builder::FeeCalculator, handler::ScriptHandler};
44

@@ -58,8 +58,15 @@ impl TransactionBuilderConfiguration {
5858
)?,
5959
) as Box<_>,
6060
Box::new(
61-
handler::multisig::Secp256k1Blake160MultisigAllScriptHandler::new_with_network(
61+
handler::multisig::Secp256k1Blake160MultisigAllScriptHandler::new(
6262
network,
63+
MultisigScript::Legacy,
64+
)?,
65+
) as Box<_>,
66+
Box::new(
67+
handler::multisig::Secp256k1Blake160MultisigAllScriptHandler::new(
68+
network,
69+
MultisigScript::V2,
6370
)?,
6471
) as Box<_>,
6572
Box::new(handler::sudt::SudtHandler::new_with_network(network)?) as Box<_>,

0 commit comments

Comments
 (0)