services/wallet/transfer/concurrent.go
Avoid deeply nested control flow statements. Open
Open
if to.Cmp(newStartBlock) > 0 {
log.Debug("found possible start block, we should not search back", "block", to)
newStartBlock = to // increase newStartBlock if we found a new higher block
}
Function findBlocksWithEthTransfers
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func findBlocksWithEthTransfers(parent context.Context, client balance.Reader, cache balance.Cacher,
account common.Address, low, high *big.Int, noLimit bool, threadLimit uint32) (
Function checkRangesWithStartBlock
has 7 arguments (exceeds 6 allowed). Consider refactoring. Open
Open
func checkRangesWithStartBlock(parent context.Context, client balance.Reader, cache balance.Cacher,
account common.Address, ranges [][]*big.Int, threadLimit uint32, startBlock *big.Int) (