Use []byte instead of Bytes, use tmlibs/common.KVPair

This commit is contained in:
Jae Kwon
2017-12-26 04:52:02 -08:00
parent a861d68a31
commit e1ff53fd0b
9 changed files with 199 additions and 225 deletions
+2 -1
View File
@@ -7,6 +7,7 @@ import (
"github.com/tendermint/abci/example/code"
"github.com/tendermint/abci/types"
"github.com/tendermint/iavl"
cmn "github.com/tendermint/tmlibs/common"
dbm "github.com/tendermint/tmlibs/db"
)
@@ -38,7 +39,7 @@ func (app *DummyApplication) DeliverTx(tx []byte) types.ResponseDeliverTx {
}
app.state.Set(key, value)
tags := []types.KVPair{
tags := []cmn.KVPair{
{[]byte("app.creator"), []byte("jae")},
{[]byte("app.key"), key},
}