refactor: use camel case for minConfs
This commit is contained in:
7 files changed
+23
-23
No files matched your search
@@ -87,7 +87,7 @@ func (b *mockBackend) PublishTransaction(tx *wire.MsgTx, _ string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func (b *mockBackend) ListUnspentWitnessFromDefaultAccount(minconfirms, maxconfirms int32) (
|
||||
func (b *mockBackend) ListUnspentWitnessFromDefaultAccount(minConfs, maxConfs int32) (
|
||||
[]*lnwallet.Utxo, error) {
|
||||
b.lock.Lock()
|
||||
defer b.lock.Unlock()
|
||||
|
||||
+2
-2
@@ -13,10 +13,10 @@ type Wallet interface {
|
||||
|
||||
// ListUnspentWitnessFromDefaultAccount returns all unspent outputs
|
||||
// which are version 0 witness programs from the default wallet account.
|
||||
// The 'minconfirms' and 'maxconfirms' parameters indicate the minimum
|
||||
// The 'minConfs' and 'maxConfs' parameters indicate the minimum
|
||||
// and maximum number of confirmations an output needs in order to be
|
||||
// returned by this method.
|
||||
ListUnspentWitnessFromDefaultAccount(minconfirms, maxconfirms int32) (
|
||||
ListUnspentWitnessFromDefaultAccount(minConfs, maxConfs int32) (
|
||||
[]*lnwallet.Utxo, error)
|
||||
|
||||
// WithCoinSelectLock will execute the passed function closure in a
|
||||
|
||||
@@ -112,7 +112,7 @@ type mockWallet struct {
|
||||
Wallet
|
||||
}
|
||||
|
||||
func (m *mockWallet) ListUnspentWitnessFromDefaultAccount(minconfirms, maxconfirms int32) (
|
||||
func (m *mockWallet) ListUnspentWitnessFromDefaultAccount(minConfs, maxConfs int32) (
|
||||
[]*lnwallet.Utxo, error) {
|
||||
|
||||
return []*lnwallet.Utxo{
|
||||
|
||||
Reference in new issue
Block a user