mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
keychain+chainreg: remove Litecoin CoinType
This commit is contained in:
parent
3912d5a0c6
commit
d128c18cc5
@ -22,10 +22,6 @@ const (
|
||||
// CoinTypeTestnet specifies the BIP44 coin type for all testnet key
|
||||
// derivation.
|
||||
CoinTypeTestnet = 1
|
||||
|
||||
// CoinTypeLitecoin specifies the BIP44 coin type for Litecoin key
|
||||
// derivation.
|
||||
CoinTypeLitecoin = 2
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -121,14 +121,6 @@ func TestKeyRingDerivation(t *testing.T) {
|
||||
|
||||
return "btcwallet", keyRing, nil
|
||||
},
|
||||
func() (string, KeyRing, error) {
|
||||
wallet, err := createTestBtcWallet(t, CoinTypeLitecoin)
|
||||
require.NoError(t, err)
|
||||
|
||||
keyRing := NewBtcWalletKeyRing(wallet, CoinTypeLitecoin)
|
||||
|
||||
return "ltcwallet", keyRing, nil
|
||||
},
|
||||
func() (string, KeyRing, error) {
|
||||
wallet, err := createTestBtcWallet(t, CoinTypeTestnet)
|
||||
require.NoError(t, err)
|
||||
@ -249,14 +241,6 @@ func TestSecretKeyRingDerivation(t *testing.T) {
|
||||
|
||||
return "btcwallet", keyRing, nil
|
||||
},
|
||||
func() (string, SecretKeyRing, error) {
|
||||
wallet, err := createTestBtcWallet(t, CoinTypeLitecoin)
|
||||
require.NoError(t, err)
|
||||
|
||||
keyRing := NewBtcWalletKeyRing(wallet, CoinTypeLitecoin)
|
||||
|
||||
return "ltcwallet", keyRing, nil
|
||||
},
|
||||
func() (string, SecretKeyRing, error) {
|
||||
wallet, err := createTestBtcWallet(t, CoinTypeTestnet)
|
||||
require.NoError(t, err)
|
||||
|
Loading…
Reference in New Issue
Block a user