Skip to content

Commit

Permalink
fix return error'msg for MsgSetMerkleRoot.ValidateBasic()
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldonleedev committed Aug 15, 2024
1 parent f4e9f71 commit 1f56a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/plan/types/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (m *MsgSetMerkleRoot) ValidateBasic() error {

merkleRoot := common.HexToHash(m.MerkleRoot)
if merkleRoot.String() != m.MerkleRoot {
return fmt.Errorf("invalid merkle proof")
return fmt.Errorf("invalid merkle root")
}
return nil
}
Expand Down

0 comments on commit 1f56a3d

Please sign in to comment.