cmd: fix some serialization

This commit is contained in:
Ethan Buchman
2017-01-29 20:06:25 -08:00
parent 530694f93c
commit e69395c01f
5 changed files with 50 additions and 24 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ func (ibc *IBCPlugin) RunTx(store types.KVStore, ctx types.CallContext, txBytes
var tx IBCTx
err := wire.ReadBinaryBytes(txBytes, &tx)
if err != nil {
return abci.ErrBaseEncodingError.AppendLog("Error decoding tx: " + err.Error())
return abci.ErrBaseEncodingError.AppendLog("Error decoding tx: " + err.Error()).PrependLog("IBCTx Error: ")
}
// Validate tx