mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +02:00
sweep+lntest: fix typos
This commit is contained in:
@@ -2420,7 +2420,7 @@ func TestClusterByLockTime(t *testing.T) {
|
||||
remainingInputs,
|
||||
)
|
||||
|
||||
// Assert the mocked methods are called as expeceted.
|
||||
// Assert the mocked methods are called as expected.
|
||||
input1LockTime1.AssertExpectations(t)
|
||||
input2LockTime1.AssertExpectations(t)
|
||||
input3LockTime2.AssertExpectations(t)
|
||||
|
@@ -186,7 +186,7 @@ func createSweepTx(inputs []input.Input, outputs []*wire.TxOut,
|
||||
|
||||
if lt, ok := o.RequiredLockTime(); ok {
|
||||
// If another input commits to a different locktime,
|
||||
// they cannot be combined in the same transcation.
|
||||
// they cannot be combined in the same transaction.
|
||||
if locktime != -1 && locktime != int32(lt) {
|
||||
return nil, fmt.Errorf("incompatible locktime")
|
||||
}
|
||||
|
Reference in New Issue
Block a user