mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 03:38:35 +00:00
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