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

View File

@ -19,7 +19,7 @@ func TestMarshalJSON(t *testing.T) {
Code: 1,
Data: []byte("hello"),
Gas: 43,
Fee: 12,
Fee: KI64Pair{[]byte("pho"), 12},
}
b, err = json.Marshal(&r1)
assert.Nil(t, err)