lnwallet: add active Bitcoin network to config

This commit is contained in:
Olaoluwa Osuntokun
2016-02-02 19:09:54 -08:00
parent 80ce49a883
commit 98bbd314a7
2 changed files with 7 additions and 7 deletions

View File

@@ -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...