pylint disable shuffle() arg check

This commit is contained in:
Lex Berezhny 2021-08-21 00:27:34 -04:00 committed by Jonathan Moody
parent b05703243d
commit 40c2ad3273

View file

@ -141,7 +141,7 @@ class CoinSelector:
_) -> List[OutputEffectiveAmountEstimator]:
""" Accumulate UTXOs at random until there is enough to cover the target. """
target = self.target + self.cost_of_change
self.random.shuffle(txos, random=self.random.random)
self.random.shuffle(txos, random=self.random.random) # pylint: disable=deprecated-argument
selection = []
amount = 0
for coin in txos: