Skip to content

Commit

Permalink
pylint disable shuffle() arg check
Browse files Browse the repository at this point in the history
  • Loading branch information
eukreign committed Aug 21, 2021
1 parent db0cd2a commit 91be914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lbry/wallet/coinselection.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def random_draw(self, txos: List[OutputEffectiveAmountEstimator],
_) -> 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:
Expand Down

0 comments on commit 91be914

Please sign in to comment.