Fee is a KNPair (#167)

KVPair is {[]byte,[]byte}
This commit is contained in:
Jae Kwon
2017-12-24 18:39:16 -08:00
committed by GitHub
parent aaaacba1cd
commit f390385baf
6 changed files with 147 additions and 199 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ func (app *DummyApplication) DeliverTx(tx []byte) types.ResponseDeliverTx {
app.state.Set(key, value)
tags := []types.KVPair{
{Key: "app.creator", ValueType: types.KVPair_STRING, ValueString: "jae"},
{Key: "app.key", ValueType: types.KVPair_STRING, ValueString: string(key)},
{[]byte("app.creator"), []byte("jae")},
{[]byte("app.key"), key},
}
return types.ResponseDeliverTx{Code: code.CodeTypeOK, Tags: tags}
}