Closed smk762 closed 1 year ago
The response to that transaction is this:
"vout": [
{
"value": 10,
"valuesat": 1000000000,
"n": 0,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 e6761d199b7a3137c98056e49b7339b9a7ab3f5e OP_EQUALVERIFY OP_CHECKSIG",
"hex": "76a914e6761d199b7a3137c98056e49b7339b9a7ab3f5e88ac",
"reqSigs": 1,
"type": "pubkeyhash",
"addresses": [
"NgvY6ZMtLoo2Zseh9MBgTTHN2Uvt6R5XsB"
]
},
"spentTxId": "4cc8e8ff9b4128f8c013c6bea74d756b44f5f2c7faf9a6303acf9ffc1c4cdb46",
"spentHeight": 6506904
},
{
"value": 11403.679,
"valuesat": 1140367900000,
"n": 1,
"scriptPubKey": {
"asm": "OP_COINSTAKE OP_IF OP_DUP OP_HASH160 d5169fad89fc585816fb53615440b4cec510e460 OP_EQUALVERIFY OP_CHECKSIG OP_ELSE OP_DUP OP_HASH160 2523d5cf81a07f0a7591af6733ea582da3643069 OP_EQUALVERIFY OP_CHECKSIG OP_ENDIF",
"hex": "c66376a914d5169fad89fc585816fb53615440b4cec510e46088ac6776a9142523d5cf81a07f0a7591af6733ea582da364306988ac68",
"reqSigs": 1,
"type": "cold_staking",
"addresses": [
"NfLgDYL4C3KKXDS8tLRAFM7spvLykV8v9A",
"NPJM7j7P9VhChdXCKRWFto1feWPYcAPQqW"
]
}
}
]
I think it just needs to accept the cold_staking
type and consider the second element of the array addresses
as the spending address. That output is spendable as a normal P2PKH script of that address.
@smk762 can you please check if NAV tx history is working correctly now in the dev branch?
@smk762 can you please check if NAV tx history is working correctly now in the dev branch?
I dont have any of these cold_staking
addresses in any of my wallets, but have contacted willoncio#5015 who reported the issue and will create a custom gui build for him to test it (or figure out how to get one of these tx in my wallet)
@smk762 Can we consider this as done?
User has not responded - we can close it. Will chase up again and they make contact I will let you know the outcome
error from logs:
This looks like the details we need are part of the response, but they are being thwarted by the presence of an invalid value
cold_staking
within the response. I'll reach out to NAV to get more info about this param.