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

backport: run activation check in separate go routine after startup (#57) #58

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

### Misc Improvements

* [51](https://github.com/babylonlabs-io/btc-staker/pull/51) Use int64
for satoshi amount related values.

### Bug fix

* [#57](https://github.com/babylonlabs-io/btc-staker/pull/57) Use separate go
routine to check for activation after startup

## v0.7.1

### Bug fix
Expand Down
2 changes: 1 addition & 1 deletion staker/stakerapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ func (app *StakerApp) checkTransactionsStatus() error {
// resume pre-approval flow
if alreadyDelegated {
app.wg.Add(1)
app.activateVerifiedDelegation(
go app.activateVerifiedDelegation(
tx.StakingTx,
tx.StakingOutputIndex,
txHashCopy,
Expand Down
Loading