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

Merge branch 'hotfix_ledger' into 'main'

Fix: changed hash type

See merge request cellframe/pycfhelpers!10
parents 785fb678 3e6944d0
No related branches found
No related tags found
No related merge requests found
......@@ -125,10 +125,10 @@ class CellframeBaseTransactionDatum:
def emission(self):
if not self.emission_:
tiker = str(self.tx_token().ticker)
hf = HashFast.fromString(str(self.tx_token().tokenEmissionHash))
#tiker = str(self.tx_token().ticker)
h = str(self.tx_token().tokenEmissionHash)
ledger = self.net.getLedger()
ems = ledger.tokenEmissionFind(hf)
ems = ledger.tokenEmissionFind(h)
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