Skip to content

Commit

Permalink
Update x/lazyledgerapp/types/payformessage.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ismail Khoffi <[email protected]>
  • Loading branch information
evan-forbes and liamsi authored Feb 20, 2021
1 parent b8d4776 commit 72ab5f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/lazyledgerapp/types/payformessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ func (msg *MsgWirePayForMessage) ValidateBasic() error {
// ensure that the namespace id is of length == NamespaceIDSize
if len(msg.GetMessageNameSpaceId()) != NamespaceIDSize {
return fmt.Errorf(
"invalid namespace length: got %d wanted NamespaceIDSize",
"invalid namespace length: got %d wanted %d",
len(msg.GetMessageNameSpaceId()),
NamespaceIDSize,
)
}

Expand Down

0 comments on commit 72ab5f9

Please sign in to comment.