Skip to content

Commit

Permalink
skip L1 deactivation change utxos
Browse files Browse the repository at this point in the history
  • Loading branch information
rajranjan0608 committed Dec 9, 2024
1 parent 6e77fd5 commit 5901d81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mapper/pchain/tx_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,10 @@ func (t *TxParser) isMultisig(utxoid avax.UTXOID) (bool, error) {
utxoMap := dependencyTx.GetUtxos()
utxo, ok := utxoMap[utxoid]
if !ok {
return false, errFailedToCheckMultisig
// Consider the UTXO as multisig if it is not found in the dependency tx.
// Possible for dependency txs like [DisableL1ValidatorTx] or [SetL1ValidatorWeightTx].
// These unfound UTXOs are generated by the network but are not included in the tx bytes.
return true, nil
}

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

0 comments on commit 5901d81

Please sign in to comment.