mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
504c8bf5f3
This commit changes the current behavior around channeldb.Wipe(). Previously if a channel had never been closed, and a wipe was attempted, then wipe operation would fail and the transaction would be rolled back. This commit fixes this behavior by checking for bolt.ErrBucketNotFound error, and handling the specific error as a noop. |
||
---|---|---|
.. | ||
channel_test.go | ||
channel.go | ||
db_test.go | ||
db.go | ||
doc.go | ||
error.go | ||
fees.go | ||
log.go | ||
nodes.go | ||
route.go |