Skip to content

Commit

Permalink
hum: fix test
Browse files Browse the repository at this point in the history
Signed-off-by: bingyuyap <bingyu.yap.21@gmail.com>
  • Loading branch information
bingyuyap committed Sep 3, 2024
1 parent ee51cde commit d522ad1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fly/pkg/historical_uptime/process_observation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ func processObservation(t *testing.T, observations []node_common.MsgWithTimeStam

// Process each observation
for _, o := range observations {
err := ProcessObservation(*database, logger, o)
err := ProcessObservation(*database, logger, o.Timestamp, o.Msg.Addr, &gossipv1.Observation{
Hash: o.Msg.Hash,
Signature: o.Msg.Signature,
TxHash: o.Msg.TxHash,
MessageId: o.Msg.MessageId,
})
if err != nil {
t.Errorf("failed to process observation: %v", err)
}
Expand Down

0 comments on commit d522ad1

Please sign in to comment.