Skip to content

Commit

Permalink
Merge pull request #818 from hieblmi/in-batch-logging
Browse files Browse the repository at this point in the history
sweepbatcher: log confirmed batch tx id
  • Loading branch information
hieblmi authored Sep 2, 2024
2 parents 634fbbc + 3ee3963 commit 64b0e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sweepbatcher/sweep_batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -1997,7 +1997,7 @@ func (b *batch) handleSpend(ctx context.Context, spendTx *wire.MsgTx) error {
// handleConf handles a confirmation notification. This is the final step of the
// batch. Here we signal to the batcher that this batch was completed.
func (b *batch) handleConf(ctx context.Context) error {
b.log.Infof("confirmed")
b.log.Infof("confirmed in txid %s", b.batchTxid)
b.state = Confirmed

return b.store.ConfirmBatch(ctx, b.id)
Expand Down

0 comments on commit 64b0e24

Please sign in to comment.