Skip to content

Commit

Permalink
Add health report
Browse files Browse the repository at this point in the history
  • Loading branch information
dimriou committed Jan 10, 2025
1 parent ab62c24 commit df39b08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/chains/evm/txm/txm.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ func (t *Txm) Close() error {
})
}

func (t *Txm) HealthReport() map[string]error {
return map[string]error{t.lggr.Name(): t.Healthy()}
}

func (t *Txm) CreateTransaction(ctx context.Context, txRequest *types.TxRequest) (tx *types.Transaction, err error) {
tx, err = t.txStore.CreateTransaction(ctx, txRequest)
if err == nil {
Expand Down

0 comments on commit df39b08

Please sign in to comment.