fixed getting unused address

This commit is contained in:
Lex Berezhny 2018-07-12 12:44:19 -04:00 committed by Jack Robison
parent 62e77c69f5
commit 3638984d67
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -113,7 +113,7 @@ class LbryWalletManager(BaseWalletManager):
return defer.succeed('')
def get_unused_address(self):
return defer.succeed(self.default_account.get_least_used_receiving_address())
return self.default_account.receiving.get_or_create_usable_address()
def get_new_address(self):
return self.get_unused_address()