Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sweepbatcher: log txid when batch confirms #820

Closed

Conversation

starius
Copy link
Collaborator

@starius starius commented Sep 2, 2024

After 3 confirmations, log "confirmed in tx ..."

Pull Request Checklist

  • Update release_notes.md if your PR contains major features, breaking changes or bugfixes

@@ -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 tx %s", b.batchTxid)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that there's another PR open already here #818

@starius
Copy link
Collaborator Author

starius commented Sep 2, 2024

Replaced with #818

@starius starius closed this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants