mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-17 19:12:44 +02:00
lnwallet: fix linter complaints re. capitalization in interface test
This commit is contained in:
@@ -1391,7 +1391,7 @@ func TestLightningWallet(t *testing.T) {
|
|||||||
walletType := walletDriver.WalletType
|
walletType := walletDriver.WalletType
|
||||||
switch walletType {
|
switch walletType {
|
||||||
case "btcwallet":
|
case "btcwallet":
|
||||||
aliceChainRpc, err := chain.NewRPCClient(netParams,
|
aliceChainRPC, err := chain.NewRPCClient(netParams,
|
||||||
rpcConfig.Host, rpcConfig.User, rpcConfig.Pass,
|
rpcConfig.Host, rpcConfig.User, rpcConfig.Pass,
|
||||||
rpcConfig.Certificates, false, 20)
|
rpcConfig.Certificates, false, 20)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -1402,7 +1402,7 @@ func TestLightningWallet(t *testing.T) {
|
|||||||
HdSeed: aliceHDSeed[:],
|
HdSeed: aliceHDSeed[:],
|
||||||
DataDir: tempTestDirAlice,
|
DataDir: tempTestDirAlice,
|
||||||
NetParams: netParams,
|
NetParams: netParams,
|
||||||
ChainSource: aliceChainRpc,
|
ChainSource: aliceChainRPC,
|
||||||
FeeEstimator: lnwallet.StaticFeeEstimator{FeeRate: 250},
|
FeeEstimator: lnwallet.StaticFeeEstimator{FeeRate: 250},
|
||||||
}
|
}
|
||||||
aliceWalletController, err = walletDriver.New(aliceWalletConfig)
|
aliceWalletController, err = walletDriver.New(aliceWalletConfig)
|
||||||
@@ -1411,7 +1411,7 @@ func TestLightningWallet(t *testing.T) {
|
|||||||
}
|
}
|
||||||
aliceSigner = aliceWalletController.(*btcwallet.BtcWallet)
|
aliceSigner = aliceWalletController.(*btcwallet.BtcWallet)
|
||||||
|
|
||||||
bobChainRpc, err := chain.NewRPCClient(netParams,
|
bobChainRPC, err := chain.NewRPCClient(netParams,
|
||||||
rpcConfig.Host, rpcConfig.User, rpcConfig.Pass,
|
rpcConfig.Host, rpcConfig.User, rpcConfig.Pass,
|
||||||
rpcConfig.Certificates, false, 20)
|
rpcConfig.Certificates, false, 20)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -1422,7 +1422,7 @@ func TestLightningWallet(t *testing.T) {
|
|||||||
HdSeed: bobHDSeed[:],
|
HdSeed: bobHDSeed[:],
|
||||||
DataDir: tempTestDirBob,
|
DataDir: tempTestDirBob,
|
||||||
NetParams: netParams,
|
NetParams: netParams,
|
||||||
ChainSource: bobChainRpc,
|
ChainSource: bobChainRPC,
|
||||||
FeeEstimator: lnwallet.StaticFeeEstimator{FeeRate: 250},
|
FeeEstimator: lnwallet.StaticFeeEstimator{FeeRate: 250},
|
||||||
}
|
}
|
||||||
bobWalletController, err = walletDriver.New(bobWalletConfig)
|
bobWalletController, err = walletDriver.New(bobWalletConfig)
|
||||||
|
Reference in New Issue
Block a user