gcash / bchwallet

A secure bitcoin cash wallet daemon written in Go (golang)
ISC License
43 stars 29 forks source link

[Bug] Make sure input amount is provided for all inputs in SignTransaction #66

Closed zquestz closed 4 years ago

zquestz commented 4 years ago

We now added 2 things to make SignTransaction more reliable.

1) If you pass an incorrect number of inputValues it throws an error and doesn't panic. 2) If you don't pass in inputValues, it looks them up for you!

Fixes https://github.com/gcash/bchwallet/issues/63