File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ func TestGethClient(t *testing.T) {
123
123
func (t * testing.T ) { testSetHead (t , client ) },
124
124
}, {
125
125
"TestSubscribePendingTxHashes" ,
126
- func (t * testing.T ) { testSubscribePendingTransaction (t , client ) },
126
+ func (t * testing.T ) { testSubscribePendingTransactions (t , client ) },
127
127
}, {
128
128
"TestSubscribePendingTxs" ,
129
129
func (t * testing.T ) { testSubscribeFullPendingTransactions (t , client ) },
@@ -272,12 +272,12 @@ func testSetHead(t *testing.T, client *rpc.Client) {
272
272
}
273
273
}
274
274
275
- func testSubscribePendingTransaction (t * testing.T , client * rpc.Client ) {
275
+ func testSubscribePendingTransactions (t * testing.T , client * rpc.Client ) {
276
276
ec := New (client )
277
277
ethcl := ethclient .NewClient (client )
278
278
// Subscribe to Transactions
279
279
ch := make (chan common.Hash )
280
- ec .SubscribePendingTransaction (context .Background (), ch )
280
+ ec .SubscribePendingTransactions (context .Background (), ch )
281
281
// Send a transaction
282
282
chainID , err := ethcl .ChainID (context .Background ())
283
283
if err != nil {
You can’t perform that action at this time.
0 commit comments