mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-29 20:51:45 +00:00
Use []byte instead of Bytes, use tmlibs/common.KVPair
This commit is contained in:
@ -8,6 +8,7 @@ import (
|
||||
|
||||
"github.com/gogo/protobuf/proto"
|
||||
"github.com/stretchr/testify/assert"
|
||||
cmn "github.com/tendermint/tmlibs/common"
|
||||
)
|
||||
|
||||
func TestMarshalJSON(t *testing.T) {
|
||||
@ -19,7 +20,7 @@ func TestMarshalJSON(t *testing.T) {
|
||||
Code: 1,
|
||||
Data: []byte("hello"),
|
||||
Gas: 43,
|
||||
Fee: KI64Pair{[]byte("pho"), 12},
|
||||
Fee: cmn.KI64Pair{[]byte("pho"), 12},
|
||||
}
|
||||
b, err = json.Marshal(&r1)
|
||||
assert.Nil(t, err)
|
||||
|
Reference in New Issue
Block a user