3
1
I got the above error when submitting this transaction:
010000000001013894a4bdcfa20ef5a6cbfe1d22c5fe5041eab586a5ea2b044f969a02dab6b3d200000000171600141a982a7d2712fc33d47c990cd8cde15c87ca2e07ffffffff015e3f01000000000017a914fb2dc3b4dd0731c8f2559506c7d0cb876b0e71298702483045022100c68dac735a3529d84fdbfc3a8a11d313d59a9791b046fc39bbfc55db71d6d2010220028f2bbfba78c393858e3cb7ad51e24e8dfd2260d4a3cbbf8feb4d4c6005967701210371b63ebaa78a70420bc36159bed610b8f788e9a7b953558f06bb40622d9cbfe400000000
A previous transaction from the same P2SH-P2WPKH address was successfully spent but I got this error whenever I try to spend this transaction:
d2b3b6da029a964f042beaa586b5ea4150fec5221dfecba6f50ea2cfbda49438
I already attempted to sign the transaction again a few time but still got the same error.
1How did you create this transaction? What commands did you use? What software? – Andrew Chow – 2017-10-21T05:08:19.783
I used the ruby gem to build and sign this transaction – user3779267 – 2017-10-30T06:16:16.220
1I found out it was because of a precision error in our code. The amount that used to build the input segwit transaction is incorrect leading to this error. – user3779267 – 2017-10-30T07:00:31.973
1Please write an answer to your own question if you found a solution. – Pieter Wuille – 2017-11-20T18:53:04.780