Removed the need of having a backend for the tx pool
This commit is contained in:
@ -25,7 +25,7 @@ func transaction() *types.Transaction {
|
||||
func setup() (*TxPool, *ecdsa.PrivateKey) {
|
||||
var m event.TypeMux
|
||||
key, _ := crypto.GenerateKey()
|
||||
return NewTxPool(stateQuery{}, &m), key
|
||||
return NewTxPool(&m), key
|
||||
}
|
||||
|
||||
func TestTxAdding(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user