From 4f0749d4c6321335fc485d34f1b4044b7f8bdf3e Mon Sep 17 00:00:00 2001 From: Gideon Greenspan Date: Sat, 23 Dec 2017 06:42:55 +0200 Subject: [PATCH] Compatibility with manually built issuances --- Mce/abe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mce/abe.py b/Mce/abe.py index 9ffcbb1..2a1e0ff 100755 --- a/Mce/abe.py +++ b/Mce/abe.py @@ -2092,7 +2092,7 @@ def handle_assetref(abe, page): blockhash = issuetx['blockhash'] name = issuetx['vout'][0]['assets'][0].get('name','') address_to = issuetx['vout'][0]['scriptPubKey']['addresses'][0] - address_from = issuetx['vout'][2]['scriptPubKey']['addresses'][0] + address_from = asset['issues'][0]['issuers'][0] native_amount = issuetx['vout'][0]['value'] issues = asset.get('issues', [])