Skip to content

Commit

Permalink
reversing byte order in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonNorthey92 committed Aug 14, 2024
1 parent f075203 commit 5f11489
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/tbc/rpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,8 @@ func TestTxById(t *testing.T) {
t.Fatal(err)
}

slices.Reverse(txIdBytes)

ctxid, err := chainhash.NewHash(txIdBytes)
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 5f11489

Please sign in to comment.