From e0a136065e6f3e827d3dfbcd178478e5dd32b86c Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Fri, 26 May 2023 14:02:13 +0300 Subject: [PATCH] allow passing test nonce to group.create() --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 12ce995..7d64464 100644 --- a/lib/index.js +++ b/lib/index.js @@ -241,7 +241,7 @@ exports.init = function initDB(peer, config) { let msg try { - msg = MsgV2.createGroup(keys) + msg = MsgV2.createGroup(keys, opts?._nonce) } catch (err) { return cb(new Error('group.create() failed', { cause: err })) }