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
|
@defer.inlineCallbacks
|
||||||
def get_private_key_for_address(self, address):
|
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:
|
if match:
|
||||||
for account in self.accounts:
|
for account in self.accounts:
|
||||||
if match['account'] == account.public_key.address:
|
if match['account'] == account.public_key.address:
|
||||||
|
|
Loading…
Reference in a new issue