Fix for multisig support
This commit is contained in:
parent
e0d013cd63
commit
15bc31c4a7
@ -884,7 +884,9 @@ def processTransaction(transaction_data, parsed_data, blockinfo):
|
|||||||
addresscounter = 0
|
addresscounter = 0
|
||||||
inputcounter = 0
|
inputcounter = 0
|
||||||
for obj in transaction_data["vout"]:
|
for obj in transaction_data["vout"]:
|
||||||
if obj["scriptPubKey"]["type"] == "pubkeyhash":
|
if 'type' not in obj["scriptPubKey"].keys():
|
||||||
|
continue
|
||||||
|
if obj["scriptPubKey"]["type"] in ["pubkeyhash","scripthash"]:
|
||||||
addresscounter = addresscounter + 1
|
addresscounter = addresscounter + 1
|
||||||
if inputlist[0] == obj["scriptPubKey"]["addresses"][0]:
|
if inputlist[0] == obj["scriptPubKey"]["addresses"][0]:
|
||||||
inputcounter = inputcounter + 1
|
inputcounter = inputcounter + 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user