Fix infinity loop when syncing mempool
This commit is contained in:
parent
e8b220455e
commit
445fbf44f0
@ -183,6 +183,7 @@ func (sm *syncManager) doInitialMempoolSync() error {
|
||||
txsToRetrieve = txsToRetrieve[policy.MaxTransactionCountForRetrieving:]
|
||||
} else {
|
||||
txHashes = txsToRetrieve
|
||||
txsToRetrieve = nil
|
||||
}
|
||||
|
||||
getMempoolTxArg := wire.GetMempoolTxsArg{
|
||||
|
Loading…
Reference in New Issue
Block a user