plug DoS problem whereby a namespace can be preordered by a non-p2pkh script (this is allowed; this fix stops nodes from crashing when it happens)

This commit is contained in:
Jude Nelson
2017-10-03 13:07:20 -04:00
parent 69843d5175
commit 5d0bcbce19

View File

@@ -182,6 +182,9 @@ def tx_extract( payload, senders, inputs, outputs, block_id, vtxindex, txid ):
if sender_pubkey_hex is not None:
ret['sender_pubkey'] = sender_pubkey_hex
else:
ret['sender_pubkey'] = None
return ret