mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-26 04:45:35 +08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user