eth,eth/filters: fix formatting

This commit is contained in:
Domino Valdano 2018-05-10 17:42:20 -07:00
parent d843dedd88
commit b06488abfc
3 changed files with 16 additions and 16 deletions

View file

@ -152,7 +152,7 @@ func (b *EthAPIBackend) SubscribeChainSideEvent(ch chan<- core.ChainSideEvent) e
return b.eth.BlockChain().SubscribeChainSideEvent(ch)
}
func (b *EthApiBackend) SubscribeTransactionEvent(ch chan<- core.TransactionEvent) event.Subscription {
func (b *EthAPIBackend) SubscribeTransactionEvent(ch chan<- core.TransactionEvent) event.Subscription {
return b.eth.BlockChain().SubscribeTransactionEvent(ch)
}

View file

@ -112,7 +112,7 @@ type EventSystem struct {
// Channels
install chan *subscription // install filter for event notification
uninstall chan *subscription // remove filter for event notification
txPreCh chan core.TxPreEvent // Channel to recieve new pre transaction events
txPreCh chan core.TxPreEvent // Channel to receive new pre transaction events
txCh chan core.TransactionEvent // Channel to receive new transaction events
logsCh chan []*types.Log // Channel to receive new log event
rmLogsCh chan core.RemovedLogsEvent // Channel to receive removed log event
@ -132,7 +132,7 @@ func NewEventSystem(mux *event.TypeMux, backend Backend, lightMode bool) *EventS
lightMode: lightMode,
install: make(chan *subscription),
uninstall: make(chan *subscription),
txPrech: make(chan core.TxPreEvent, txPreChanSize),
txPreCh: make(chan core.TxPreEvent, txPreChanSize),
txCh: make(chan core.TransactionEvent, txPostChanSize),
logsCh: make(chan []*types.Log, logsChanSize),
rmLogsCh: make(chan core.RemovedLogsEvent, rmLogsChanSize),

View file

@ -332,7 +332,7 @@ func TestInvalidLogFilterCreation(t *testing.T) {
mux = new(event.TypeMux)
db = ethdb.NewMemDatabase()
txPreFeed = new(event.Feed)
txPostFeed = new(evnt.Feed)
txPostFeed = new(event.Feed)
rmLogsFeed = new(event.Feed)
logsFeed = new(event.Feed)
chainFeed = new(event.Feed)