consensus: fix a bug with nil tx channel
This commit is contained in:
parent
821c9b2851
commit
189a708988
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ func NewService(cfg Config) (Service, error) {
|
|||
cache: newFIFOCache(cacheMaxCapacity),
|
||||
txx: newFIFOCache(cacheMaxCapacity),
|
||||
messages: make(chan Payload, 100),
|
||||
|
||||
transactions: make(chan *transaction.Transaction, 100),
|
||||
}
|
||||
|
||||
if cfg.Wallet == nil {
|
||||
|
|
Loading…
Reference in a new issue