Skip to content

Commit

Permalink
save amt
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhorsey committed Jul 4, 2023
1 parent e443aba commit f605938
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eventindexer/indexer/save_slashed_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func (svc *Service) saveSlashedEvent(
ChainID: chainID,
Event: eventindexer.EventNameSlashed,
Address: event.Addr.Hex(),
Amount: new(big.Int).SetUint64(event.Amount),
})
if err != nil {
return errors.Wrap(err, "svc.eventRepo.Save")
Expand Down

0 comments on commit f605938

Please sign in to comment.