Skip to content

Commit

Permalink
[PVM] Fix CaminoRewardValidatorTx onAbort address state (#344)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0fe6350)
  • Loading branch information
evlekht committed Aug 1, 2024
1 parent cdefd19 commit 34e3c12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vms/platformvm/txs/executor/camino_tx_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ func (e *CaminoProposalTxExecutor) RewardValidatorTx(tx *txs.RewardValidatorTx)
if err != nil {
return err
}
e.OnCommitState.SetAddressStates(nodeOwnerAddressOnAbort, nodeOwnerAddressStateOnAbort&^as.AddressStateNodeDeferred)
e.OnAbortState.SetAddressStates(nodeOwnerAddressOnAbort, nodeOwnerAddressStateOnAbort&^as.AddressStateNodeDeferred)
}

txID := e.Tx.ID()
Expand Down

0 comments on commit 34e3c12

Please sign in to comment.