lnwallet/btcwallet/config: add CoinType to configuration

This commit is contained in:
Conner Fromknecht 2018-03-12 17:33:55 -07:00
parent e760963ead
commit fbef815530
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,9 @@ type Config struct {
// NetParams is the net parameters for the target chain.
NetParams *chaincfg.Params
// CoinType specifies the BIP 44 coin type to be used for derivation.
CoinType uint32
}
// NetworkDir returns the directory name of a network directory to hold wallet