Closed SFzxc closed 6 years ago
looking forward to your help @azuchi -san
your imported key is not the same used in the output of the prev_tx.
key hash160 is 79aa41a7dc28ca02eff911759d7f47ccc263cd15
output 1 of prev_tx is ab46f586adc4bcdef8a101d1ed3dd8f474e10f7d
if you sign the new tx the <signature> <pubkey> OP_DUP OP_HASH160 ab46f586adc4bcdef8a101d1ed3dd8f474e10f7d OP_EQUALVERIFY OP_CHECKSIG
will fail because hash160(pubkey) doesn't match the scripts hash160
Thanks @lian , i used same database and Wallet Master Private Key with testnet enviroment, i wonder why testnet still work and local is not, Thanks for supporting, i keep research about this different
I dont have any problems with non-hardened key, but with hardened key, i cant sign, can anyone help me, i was struggling it in a week, thanks you!!