Skip to content

Commit

Permalink
run activation check in separate go routine after startup
Browse files Browse the repository at this point in the history
  • Loading branch information
KonradStaniec committed Oct 14, 2024
1 parent 61ba909 commit 6132302
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 6132302

Please sign in to comment.