multi: optimize loggings around changes from blockbeat
This commit is contained in:
9 files changed
+62
-38
No files matched your search
+4
-1
@@ -1588,7 +1588,10 @@ func prepareSweepTx(inputs []input.Input, changePkScript lnwallet.AddrWithKey,
|
||||
|
||||
// Check if the lock time has reached
|
||||
if lt > uint32(currentHeight) {
|
||||
return 0, noChange, noLocktime, ErrLocktimeImmature
|
||||
return 0, noChange, noLocktime,
|
||||
fmt.Errorf("%w: current height is %v, "+
|
||||
"locktime is %v", ErrLocktimeImmature,
|
||||
currentHeight, lt)
|
||||
}
|
||||
|
||||
// If another input commits to a different locktime, they
|
||||
|
||||
Reference in new issue
Block a user