4a0a657eb0
This commit fixes a bug within the btcwallet implementation of the BlockChainIO interface. The exact nature of the bug was a rounding error that would only manifest if the value of the UTXO was below 1 BTC. The tests within this package currently test channels with mostly whole values of BTC, as a result the bug went unnoticed until now. The fix itself is trivial: convert to an int64 AFTER performing the multiplication to convert to satoshis from Bitcoin. |
||
---|---|---|
.. | ||
btcwallet | ||
channel_test.go | ||
channel.go | ||
config.go | ||
interface_test.go | ||
interface.go | ||
log.go | ||
parameters.go | ||
reservation.go | ||
script_utils_test.go | ||
script_utils.go | ||
size.go | ||
wallet.go |