update GetTransaction unit test

This commit is contained in:
Larry Ruane 2020-05-28 16:46:29 -06:00 committed by Larry Ruane
parent 6b0c1cc43e
commit bcc9aa0a45
1 changed files with 1 additions and 1 deletions

View File

@ -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 {