cmd: counter tx

This commit is contained in:
Ethan Buchman
2017-01-29 16:30:25 -08:00
parent 1fea9501d1
commit f811502826
8 changed files with 275 additions and 238 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func (cp *CounterPlugin) RunTx(store types.KVStore, ctx types.CallContext, txByt
var tx CounterTx
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("CounterTx Error: ")
}
// Validate tx