Firaenix / bsv-wasm

BSV stdlib written in Rust and runs in WASM environments
MIT License
70 stars 19 forks source link

HashCache not clearing for SIGHASH_NONE #50

Closed deanmlittle closed 2 years ago

deanmlittle commented 2 years ago

When a signature is created on a TX using SIGHASH_ALL or similar, the HashCache is set. When you subsequently sign with a SIGHASH_NONE, the HashCache hashes show up in the sighashPreimage where they should be zero buffers.

deanmlittle commented 2 years ago

Solved as of 1.3.0.beta-6