forked from LBRYCommunity/lbry-sdk
more get_address fixes
This commit is contained in:
parent
eebfe2be08
commit
75dd93436c
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class BaseLedger(metaclass=LedgerRegistry):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def get_private_key_for_address(self, address):
|
||||
match = yield self.db.get_address(address)
|
||||
match = yield self.db.get_address(address=address)
|
||||
if match:
|
||||
for account in self.accounts:
|
||||
if match['account'] == account.public_key.address:
|
||||
|
|
Loading…
Reference in a new issue