mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
sweepbatcher: fix a bug in dest address selection
For presigned possible remaining groups, the destination address of the current batch was used instead of the destination address of an expected future batch. TODO: reproduce in unit test "purged". For this, each swap should have a separate destination address.
This commit is contained in:
parent
64a24177ae
commit
72caafa14e
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ func (b *batch) presign(ctx context.Context, newSweeps []*sweep) error {
|
|||
|
||||
// Cache the destination address.
|
||||
destAddr, err := getPresignedSweepsDestAddr(
|
||||
ctx, b.cfg.presignedHelper, b.primarySweepID,
|
||||
ctx, b.cfg.presignedHelper, primarySweepID,
|
||||
b.cfg.chainParams,
|
||||
)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue