Skip to content

Commit 5901d81

Browse files
committed
skip L1 deactivation change utxos
1 parent 6e77fd5 commit 5901d81

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mapper/pchain/tx_parser.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,10 @@ func (t *TxParser) isMultisig(utxoid avax.UTXOID) (bool, error) {
765765
utxoMap := dependencyTx.GetUtxos()
766766
utxo, ok := utxoMap[utxoid]
767767
if !ok {
768-
return false, errFailedToCheckMultisig
768+
// Consider the UTXO as multisig if it is not found in the dependency tx.
769+
// Possible for dependency txs like [DisableL1ValidatorTx] or [SetL1ValidatorWeightTx].
770+
// These unfound UTXOs are generated by the network but are not included in the tx bytes.
771+
return true, nil
769772
}
770773

771774
addressable, ok := utxo.Out.(avax.Addressable)

0 commit comments

Comments
 (0)