Skip to content

Commit

Permalink
fixed TestGetAttestationDataBySnapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
CJPotter10 committed Jul 19, 2024
1 parent 47e8ad9 commit 6add279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/bridge/keeper/query_get_attestation_data_by_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (q Querier) GetAttestationDataBySnapshot(goCtx context.Context, req *types.
return nil, status.Error(codes.InvalidArgument, fmt.Sprintf("snapshot not found for snapshot %s", snapshot))
}
queryId := snapshotData.QueryId
timestampTime := time.Unix(snapshotData.Timestamp, 0)
timestampTime := time.UnixMilli(snapshotData.Timestamp)

aggReport, err := q.k.oracleKeeper.GetAggregateByTimestamp(ctx, queryId, timestampTime)
if err != nil {
Expand Down

0 comments on commit 6add279

Please sign in to comment.