Open exfoex opened 5 years ago
I checked the outpoint you referenced, and it looks like the value is 39000 sat, not 38000 sat. Segwit signatures happen to cover this value, and so it must be correct for signatures to be valid. (It's a measure to protect hardware wallets from compromised host machines that lie about the input value to scalp fees)
I'm trying to spend from a native segwit address. I modified an example code to this:
The code gives this result:
And when I try to brodcast this transaction through https://live.blockcypher.com/btc/pushtx/ it says: