Skip to content
Snippets Groups Projects
Commit cf5eae28 authored by Dmitry Puzyrkov's avatar Dmitry Puzyrkov
Browse files

Merge branch 'hotfix_ledger' into 'main'

Hotfix ledger

See merge request cellframe/pycfhelpers!11
parents 626d103e c8204570
No related branches found
No related tags found
No related merge requests found
......@@ -126,9 +126,9 @@ class CellframeBaseTransactionDatum:
def emission(self):
if not self.emission_:
#tiker = str(self.tx_token().ticker)
h = str(self.tx_token().tokenEmissionHash)
hf = HashFast.fromString(str(self.tx_token().tokenEmissionHash))
ledger = self.net.getLedger()
ems = ledger.tokenEmissionFind(h)
ems = ledger.tokenEmissionFind(hf)
if not ems:
return None
self.emission_ = CellframeEmission(ems)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment