fix for get_transaction

This commit is contained in:
Lex Berezhny 2018-09-25 23:28:06 -04:00
parent b0bc06ae00
commit 29c0e3f15f

View file

@ -134,7 +134,7 @@ class BaseLedger(metaclass=LedgerRegistry):
@defer.inlineCallbacks @defer.inlineCallbacks
def get_transaction(self, txhash): def get_transaction(self, txhash):
raw, _, _ = yield self.db.get_transaction(txhash) raw, _, _, _ = yield self.db.get_transaction(txhash)
if raw is not None: if raw is not None:
return self.transaction_class(raw) return self.transaction_class(raw)