Skip to content

Commit

Permalink
mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar955 committed Dec 16, 2024
1 parent cb19ed8 commit b6d4cd9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions finality-provider/service/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ func (app *FinalityProviderApp) updateFpFromResponse(btcPk *btcec.PublicKey, fp

power, err := app.cc.QueryFinalityProviderVotingPower(btcPk, fp.Height)
if err != nil {
return fmt.Errorf("failed to query voting power for finality provider %s: %w",
return fmt.Errorf("failed to query voting power for finality provider %v: %w",
btcPk, err)
}

Expand All @@ -608,7 +608,7 @@ func (app *FinalityProviderApp) updateFpFromResponse(btcPk *btcec.PublicKey, fp
}

if err := app.fps.SetFpStatus(btcPk, status); err != nil {
return fmt.Errorf("failed to update status for finality provider %s: %w", btcPk, err)
return fmt.Errorf("failed to update status for finality provider %v: %w", btcPk, err)
}

return nil
Expand Down
15 changes: 15 additions & 0 deletions testutil/mocks/babylon.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b6d4cd9

Please sign in to comment.