Bitcoin
Input Script – Why do some P2SH spend transactions have data in both the ScriptSig and Witness fields?
I wonder if my wallet is broken or if I lack understanding of Bitcoin.
Here is the tx output consumed:
"value": 0.00180675,
"n": 154,
"scriptPubKey": {
"asm": "OP_HASH160 771962306e72e479245d48e879dd2a1862225b4c OP_EQUAL",
"hex": "a914771962306e72e479245d48e879dd2a1862225b4c87",
"address": "3CYkk3x1XUvdXCdHtRFdjMjp17PuJ8eR8z",
"type": "scripthash"
Expense inputs are as follows:
"txid": "d80ff02d0d9eb2da8c8a1c47ab099901f447dd197e34220ea13eca72d7d6d21d",
"vout": 154,
"scriptSig":
"asm": "002044c55c1da36a576217259c3bc21b0c3943f7eb3ff4e3c381d9fd3502434b9e87",
"hex": "22002044c55c1da36a576217259c3bc21b0c3943f7eb3ff4e3c381d9fd3502434b9e87"
,
"txinwitness": (
"",
"304402202c3f94e5daf4057377d9f16d45b57e962de42fb42cb7e95a0382b7c66624980a02204098f6acd43b0391ea1b4a8102797e78895848fb7e883f98d207d14d45945a6901",
"30440220448460edd5291a548c571ccf3a72caf47b02364035dc84f420d311e3a0c5494802205bb1cc89f20dc1e2c1f6eadb74898f8eecc46fbf488b676636b45fafaeb96e0f01",
"5221021e6617e06bb90f621c3800e8c37ab081a445ae5527f6c5f68a022e7133f9b5fe2103bea1a8ce6369435bb74ff1584a136a7efeebfe4bc320b4d59113c92acd869f38210280631b27700baf7d472483fadfe1c4a7340a458f28bf6bae5d3234312d684c6553ae"
),
"sequence": 4294967295