update GetTransaction unit test
This commit is contained in:
parent
6b0c1cc43e
commit
bcc9aa0a45
|
@ -262,7 +262,7 @@ func (tg *testgettx) Context() context.Context {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tg *testgettx) Send(tx *walletrpc.RawTransaction) error {
|
func (tg *testgettx) Send(tx *walletrpc.RawTransaction) error {
|
||||||
if !bytes.Equal(tx.Data, []byte(hex.EncodeToString(rawTxData[0]))) {
|
if !bytes.Equal(tx.Data, rawTxData[0]) {
|
||||||
testT.Fatal("mismatch transaction data")
|
testT.Fatal("mismatch transaction data")
|
||||||
}
|
}
|
||||||
if tx.Height != 1234567 {
|
if tx.Height != 1234567 {
|
||||||
|
|
Loading…
Reference in New Issue