mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-11 01:11:37 +00:00
parent
17017b2516
commit
78d089b5b7
1 changed files with 2 additions and 2 deletions
|
|
@ -299,7 +299,7 @@ func testSubscribePendingTransactions(t *testing.T, client *rpc.Client) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
// Check that the transaction was send over the channel
|
// Check that the transaction was sent over the channel
|
||||||
hash := <-ch
|
hash := <-ch
|
||||||
if hash != signedTx.Hash() {
|
if hash != signedTx.Hash() {
|
||||||
t.Fatalf("Invalid tx hash received, got %v, want %v", hash, signedTx.Hash())
|
t.Fatalf("Invalid tx hash received, got %v, want %v", hash, signedTx.Hash())
|
||||||
|
|
@ -333,7 +333,7 @@ func testSubscribeFullPendingTransactions(t *testing.T, client *rpc.Client) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
// Check that the transaction was send over the channel
|
// Check that the transaction was sent over the channel
|
||||||
tx = <-ch
|
tx = <-ch
|
||||||
if tx.Hash() != signedTx.Hash() {
|
if tx.Hash() != signedTx.Hash() {
|
||||||
t.Fatalf("Invalid tx hash received, got %v, want %v", tx.Hash(), signedTx.Hash())
|
t.Fatalf("Invalid tx hash received, got %v, want %v", tx.Hash(), signedTx.Hash())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue