Skip to content

Commit c3624de

Browse files
committed
fix: qcommitment seqwit always false
1 parent 078ae44 commit c3624de

File tree

1 file changed

+3
-0
lines changed
  • dash/src/blockdata/transaction

1 file changed

+3
-0
lines changed

dash/src/blockdata/transaction/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,9 @@ impl Decodable for Transaction {
653653
if special_transaction_type == TransactionType::AssetUnlock {
654654
segwit = false;
655655
}
656+
if special_transaction_type == TransactionType::QuorumCommitment {
657+
segwit = false;
658+
}
656659
if segwit {
657660
let segwit_flag = u8::consensus_decode_from_finite_reader(r)?;
658661
match segwit_flag {

0 commit comments

Comments
 (0)