forked from LBRYCommunity/lbry-sdk
fixed getting unused address
This commit is contained in:
parent
62e77c69f5
commit
3638984d67
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue