Skip to content

Commit

Permalink
chore: fix validation in batch proposal with assets
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Letang <me@jeremyletang.com>
  • Loading branch information
jeremyletang committed Apr 22, 2024
1 parent fde9212 commit 154b7c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/governance/node_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,10 @@ func (n *NodeValidation) checkProposal(prop *types.Proposal) error {

func (n *NodeValidation) checkBatchProposal(prop *types.BatchProposal) error {
for _, v := range prop.Proposals {
if !n.IsNodeValidationRequired(v) {
continue
}

if err := n.checkProposal(v); err != nil {
return err
}
Expand Down

0 comments on commit 154b7c1

Please sign in to comment.