From 72ab5f921270b975ef5908e7e35faebc19dc4dac Mon Sep 17 00:00:00 2001 From: Evan Forbes <42654277+evan-forbes@users.noreply.github.com> Date: Sat, 20 Feb 2021 09:26:59 -0600 Subject: [PATCH] Update x/lazyledgerapp/types/payformessage.go Co-authored-by: Ismail Khoffi --- x/lazyledgerapp/types/payformessage.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x/lazyledgerapp/types/payformessage.go b/x/lazyledgerapp/types/payformessage.go index 8319721e1d..b5337f2887 100644 --- a/x/lazyledgerapp/types/payformessage.go +++ b/x/lazyledgerapp/types/payformessage.go @@ -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, ) }