lnwallet: fix linter complaints re. capitalization in interface test

This commit is contained in:
Alex
2017-11-07 12:06:59 -07:00
committed by Olaoluwa Osuntokun
parent 7b43c9a750
commit 9bc25df906

View File

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