keychain+chainreg: remove Litecoin CoinType

This commit is contained in:
Elle Mouton 2023-08-03 17:31:34 +02:00 committed by Olaoluwa Osuntokun
parent 3912d5a0c6
commit d128c18cc5
2 changed files with 0 additions and 20 deletions

View File

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

View File

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