mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-19 20:15:18 +02:00
channeldb: switch to Open/Create methods rather than New
Commit includes basic tests for Open/Create. Additionally, rather than relying on btcwallet’s addmgr for encryption/decryption, this package now exposes a simple crypto system interface.
This commit is contained in:
@@ -1 +1,7 @@
|
||||
package channeldb
|
||||
|
||||
import "fmt"
|
||||
|
||||
var (
|
||||
ErrNoExists = fmt.Errorf("channel db has not yet been created")
|
||||
)
|
||||
|
Reference in New Issue
Block a user