From 75dd93436c84e1e0712a0cca45d43ad13e0171f6 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 8 Oct 2018 22:49:50 -0400 Subject: [PATCH] more get_address fixes --- torba/baseledger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torba/baseledger.py b/torba/baseledger.py index d5e2af3e4..49b06ab77 100644 --- a/torba/baseledger.py +++ b/torba/baseledger.py @@ -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: