mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
fix eth/filters
This commit is contained in:
parent
9f04cfa058
commit
18bdd57b82
@ -629,7 +629,7 @@ func TestPendingTxFilterDeadlock(t *testing.T) {
|
|||||||
timeout := 100 * time.Millisecond
|
timeout := 100 * time.Millisecond
|
||||||
|
|
||||||
var (
|
var (
|
||||||
db = rawdb.NewMemoryDatabase()
|
db = ethdb.NewMemoryDatabase()
|
||||||
backend = &testBackend{db: db}
|
backend = &testBackend{db: db}
|
||||||
api = NewPublicFilterAPI(backend, false, timeout)
|
api = NewPublicFilterAPI(backend, false, timeout)
|
||||||
done = make(chan struct{})
|
done = make(chan struct{})
|
||||||
@ -645,7 +645,7 @@ func TestPendingTxFilterDeadlock(t *testing.T) {
|
|||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
|
|
||||||
tx := types.NewTransaction(i, common.HexToAddress("0xb794f5ea0ba39494ce83a213fffba74279579268"), new(big.Int), 0, new(big.Int), nil)
|
tx := types.NewTransaction(i, common.HexToAddress("0xb794f5ea0ba39494ce83a213fffba74279579268"), uint256.NewInt(), 0, uint256.NewInt(), nil)
|
||||||
backend.txFeed.Send(core.NewTxsEvent{Txs: []*types.Transaction{tx}})
|
backend.txFeed.Send(core.NewTxsEvent{Txs: []*types.Transaction{tx}})
|
||||||
i++
|
i++
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user