allow passing test nonce to group.create()

This commit is contained in:
Andre Staltz 2023-05-26 14:02:13 +03:00
parent a4e94f1702
commit e0a136065e
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 1 additions and 1 deletions

View File

@ -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 }))
}