2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-09 19:10:47 +00:00

Merge pull request #818 from hieblmi/in-batch-logging

sweepbatcher: log confirmed batch tx id
This commit is contained in:
Slyghtning 2024-09-02 16:00:53 +02:00 committed by GitHub
commit 64b0e24419
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)