Skip to content

Commit

Permalink
Increase TestChannelHistoryPruning date offset
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammed-madi committed Feb 9, 2024
1 parent 69a39f7 commit 7266742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest/revocation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ func TestChannelHistoryPruning(t *testing.T) {
assert.NoError(t, err)
channelHistory := role.CollectionChannelHistory(s, c)
aHistory := channelHistory["a"]
aHistory.UpdatedAt = time.Now().Add(-31 * time.Hour * 24).Unix()
aHistory.UpdatedAt = time.Now().Add(-61 * time.Hour * 24).Unix()
channelHistory["a"] = aHistory

role.SetChannelHistory(channelHistory)
Expand Down

0 comments on commit 7266742

Please sign in to comment.