diff --git a/server/mock/tx.go b/server/mock/tx.go index 9bc7749dde..5a49bd5ccd 100644 --- a/server/mock/tx.go +++ b/server/mock/tx.go @@ -70,9 +70,11 @@ func (msg *KVStoreTx) Equals(key cryptotypes.PubKey) bool { panic("implement me") } -func (msg *KVStoreTx) Reset() {} -func (msg *KVStoreTx) String() string { return "TODO" } -func (msg *KVStoreTx) ProtoMessage() {} +func (msg *KVStoreTx) Reset() {} +func (msg *KVStoreTx) String() string { + return fmt.Sprintf("KVStoreTx{key:%q value:%q address:%s}", msg.key, msg.value, msg.address.String()) +} +func (msg *KVStoreTx) ProtoMessage() {} var ( _ sdk.Tx = &KVStoreTx{}