MultiChain / multichain-explorer

Web-based explorer for MultiChain blockchains
GNU Affero General Public License v3.0
177 stars 140 forks source link

Assetref encoded #31

Open seyacat opened 6 years ago

seyacat commented 6 years ago

Please hel me, on display transaction ammount allways show 0, because assetref its encoded on transaction

'd1f6ab03bbe476301895745655984c5e' u'181-267-63185'

please help me to correct this

elif opdrop_type==util.OP_DROP_TYPE_SEND_ASSET or opdrop_type==util.OP_DROP_TYPE_ISSUE_MORE_ASSET: for dict in val: quantity = dict['quantity'] assetref = dict['assetref'] print(assetref,asset['assetref']); if assetref == asset['assetref'].encode('hex'):
return quantity