Removed the need of having a backend for the tx pool

This commit is contained in:
obscuren
2015-01-02 12:26:55 +01:00
parent ae2c90cc28
commit d336e24dce
4 changed files with 14 additions and 17 deletions

View File

@ -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) {