Skip to content

Commit

Permalink
using package const
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarom Swisa authored and Yarom Swisa committed Feb 25, 2025
1 parent 3ed59b1 commit 28a9618
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/pairing/keeper/msg_server_relay_payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,9 @@ func (k EpochCuCache) updateProvidersComplainerCU(ctx sdk.Context, unresponsiveP
k.SetProviderEpochComplainerCuCached(ctx, epoch, unresponsiveProvider.Address, chainID, pec)

timestamp := time.Unix(unresponsiveProvider.TimestampS, 0).UTC()
format := "2006-01-02 15:04:05"
details := map[string]string{
"provider": unresponsiveProvider.Address,
"timestamp": timestamp.Format(format),
"timestamp": timestamp.Format(time.RFC3339),
"disconnections": strconv.FormatUint(unresponsiveProvider.GetDisconnections(), 10),
"errors": strconv.FormatUint(unresponsiveProvider.GetErrors(), 10),
"project": project,
Expand Down

0 comments on commit 28a9618

Please sign in to comment.