lnwallet: bump btcwallet

This commit is contained in:
Joost Jager committed 2021-03-13 08:45:52 +01:00
1 parent fa4155c126
commit 5ba0f8e355
7 files changed
+24 -13

No files matched your search

+3 -1
View File
@@ -372,7 +372,9 @@ func (w *WalletKit) LeaseOutput(ctx context.Context,
// other concurrent processes attempting to lease the same UTXO.
var expiration time.Time
err = w.cfg.CoinSelectionLocker.WithCoinSelectLock(func() error {
expiration, err = w.cfg.Wallet.LeaseOutput(lockID, *op)
expiration, err = w.cfg.Wallet.LeaseOutput(
lockID, *op, DefaultLockDuration,
)
return err
})
if err != nil {