From fbef81553090d04abead60d8006eae53e6af6192 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Mon, 12 Mar 2018 17:33:55 -0700 Subject: [PATCH] lnwallet/btcwallet/config: add CoinType to configuration --- lnwallet/btcwallet/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lnwallet/btcwallet/config.go b/lnwallet/btcwallet/config.go index 9d6bd5a5..6096c774 100644 --- a/lnwallet/btcwallet/config.go +++ b/lnwallet/btcwallet/config.go @@ -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