lnwallet: add active Bitcoin network to config
This commit is contained in:
1 parent
80ce49a883
commit
98bbd314a7
2 files changed
+7
-7
No files matched your search
@@ -3,6 +3,7 @@ package lnwallet
|
||||
import (
|
||||
"path/filepath"
|
||||
|
||||
"github.com/btcsuite/btcd/chaincfg"
|
||||
"github.com/btcsuite/btcutil"
|
||||
)
|
||||
|
||||
@@ -48,6 +49,9 @@ type Config struct {
|
||||
PrivatePass []byte
|
||||
PublicPass []byte
|
||||
HdSeed []byte
|
||||
|
||||
// Which bitcoin network are we using?
|
||||
NetParams *chaincfg.Params
|
||||
}
|
||||
|
||||
// setDefaults...
|
||||
|
||||
Reference in new issue
Block a user