Skip to content

Commit

Permalink
Revert-2
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1702 committed Jun 21, 2024
1 parent 31dda7d commit 5a815b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/soroban-rpc/internal/methods/get_transaction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func TestGetTransaction(t *testing.T) {

_, err := GetTransaction(ctx, log, store, GetTransactionRequest{"ab"})
require.EqualError(t, err, "[-32602] unexpected hash length (2)")
_, err = GetTransaction(ctx, log, store, GetTransactionRequest{"foo"})
_, err = GetTransaction(ctx, log, store, GetTransactionRequest{"foo "})
require.EqualError(t, err, "[-32602] incorrect hash: encoding/hex: invalid byte: U+006F 'o'")

hash := "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
Expand Down

0 comments on commit 5a815b6

Please sign in to comment.