Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
KonradStaniec committed Oct 21, 2024
1 parent 5dc8409 commit 4f44681
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## Unreleased

### Bug fix

* [#78](https://github.com/babylonlabs-io/btc-staker/pull/78) Fix
`withdrawable-transactions` query bug, introduced when adding pre-approval
transactions handling

## v0.8.0

### Improvements
Expand Down
5 changes: 3 additions & 2 deletions staker/babylontypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,9 @@ func (app *StakerApp) activateVerifiedDelegation(
"stakingTxHash": stakingTxHash,
"err": err,
}).Error("error getting staking transaction details from btc chain")
// Failed to get params, we cannont do anything, most probably connection error to babylon node
// we will try again in next iteration

// failed to retrieve transaction details from bitcoind node, most probably
// connection error, we will try again in next iteration
continue
}

Expand Down
1 change: 1 addition & 0 deletions staker/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type StakingEvent interface {
var _ StakingEvent = (*stakingTxBtcConfirmedEvent)(nil)
var _ StakingEvent = (*delegationSubmittedToBabylonEvent)(nil)
var _ StakingEvent = (*delegationActivatedPostApprovalEvent)(nil)
var _ StakingEvent = (*delegationActivatedPreApprovalEvent)(nil)
var _ StakingEvent = (*unbondingTxSignaturesConfirmedOnBabylonEvent)(nil)
var _ StakingEvent = (*unbondingTxConfirmedOnBtcEvent)(nil)
var _ StakingEvent = (*spendStakeTxConfirmedOnBtcEvent)(nil)
Expand Down

0 comments on commit 4f44681

Please sign in to comment.