mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
Merge pull request #444 from carlaKC/loopin-removeshadowedvar
multi: remove shadowed label variable in loopin swaps
This commit is contained in:
commit
f01f440715
2 changed files with 3 additions and 5 deletions
|
|
@ -1596,8 +1596,10 @@ func TestBudgetWithLoopin(t *testing.T) {
|
|||
SwapContract: loopdb.SwapContract{
|
||||
InitiationTime: outsideBudget,
|
||||
MaxSwapFee: budget,
|
||||
Label: labels.AutoloopLabel(
|
||||
swap.TypeIn,
|
||||
),
|
||||
},
|
||||
Label: labels.AutoloopLabel(swap.TypeIn),
|
||||
}
|
||||
|
||||
// Set our spend equal to our budget so we don't need to
|
||||
|
|
|
|||
|
|
@ -26,10 +26,6 @@ type LoopInContract struct {
|
|||
// ExternalHtlc specifies whether the htlc is published by an external
|
||||
// source.
|
||||
ExternalHtlc bool
|
||||
|
||||
// Label contains an optional label for the swap. Note that this field
|
||||
// is stored separately to the rest of the contract on disk.
|
||||
Label string
|
||||
}
|
||||
|
||||
// LoopIn is a combination of the contract and the updates.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue