gcash / bchwallet

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

[Bug] Return error if the input to signRawTransaction is spent #45

Closed zquestz closed 5 years ago

zquestz commented 5 years ago

The last fix to https://github.com/gcash/bchwallet/issues/43 was incomplete. This just causes the method to fail upstream. The better behavior is just to return an error here saying the output was spent.