From f30db74756f7f5d60082273664524aa008afe25b Mon Sep 17 00:00:00 2001 From: Slyghtning Date: Fri, 18 Jul 2025 11:05:01 +0200 Subject: [PATCH] sweepbatcher: optional change in sweep struct This commit adds an optional change output to the sweep struct. --- sweepbatcher/sweep_batch.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sweepbatcher/sweep_batch.go b/sweepbatcher/sweep_batch.go index 3eb65faf..50ecafbb 100644 --- a/sweepbatcher/sweep_batch.go +++ b/sweepbatcher/sweep_batch.go @@ -125,6 +125,9 @@ type sweep struct { // presigned is set, if the sweep should be handled in presigned mode. presigned bool + + // change is the optional change output of the sweep. + change *wire.TxOut } // batchState is the state of the batch.