Public ethereum interface uses EthManager

This commit is contained in:
obscuren
2014-05-13 12:42:01 +02:00
parent 67820506cb
commit 03371b74d7
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ func New(ethereum *eth.Ethereum) *Gui {
//ethereum.StateManager().WatchAddr(addr)
}
pub := ethpub.NewPEthereum(ethereum.StateManager(), ethereum.BlockChain(), ethereum.TxPool())
pub := ethpub.NewPEthereum(ethereum)
return &Gui{eth: ethereum, lib: lib, txDb: db, addr: addr, pub: pub}
}