From 44d7d7b9e5b701512668b97d40df139aa7962bb4 Mon Sep 17 00:00:00 2001 From: shum Date: Wed, 14 Oct 2026 16:23:28 +0000 Subject: [PATCH] tests: generate MsgId for ntf store test --- tests/CoreTests/MsgStoreTests.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CoreTests/MsgStoreTests.hs b/tests/CoreTests/MsgStoreTests.hs index df10e1155..9ad010021 100644 --- a/tests/CoreTests/MsgStoreTests.hs +++ b/tests/CoreTests/MsgStoreTests.hs @@ -685,7 +685,7 @@ testExpireIdleQueues = do mkMsgNtf :: TVar ChaChaDRG -> Int64 -> IO MsgNtf mkMsgNtf g ts = do - ntfMsgId <- atomically $ C.randomBytes 24 g + ntfMsgId <- atomically $ randomMsgId 24 g ntfNonce <- atomically $ C.randomCbNonce g pure MsgNtf {ntfMsgId, ntfTs = MkSystemTime ts 0, ntfNonce, ntfEncMeta = "meta"}