mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-22 21:55:53 +00:00
2a0ccffbe4
Input 0's sequence was set to 0xeeffffffL, but BIP143's doc shows "eeffffff" as the on-wire (little-endian) bytes, not the integer value - the correct value whose LE encoding is eeffffff is 0xffffffee, not 0xeeffffff. Caught by CI: 83/84 common module tests passed, only bip143Sighash failed. Isolated by building a standalone Kotlin+JDK repro outside Gradle/Android (no JDK available in this environment) - every other intermediate value (hashPrevouts, outpoint, scriptCode, hashOutputs) matched BIP143 exactly; only hashSequence was wrong, narrowing it to this one transcription error rather than the implementation.