mirror of https://codeberg.org/pzp/pzp-db.git
allow passing test nonce to group.create()
This commit is contained in:
parent
a4e94f1702
commit
e0a136065e
|
@ -241,7 +241,7 @@ exports.init = function initDB(peer, config) {
|
||||||
|
|
||||||
let msg
|
let msg
|
||||||
try {
|
try {
|
||||||
msg = MsgV2.createGroup(keys)
|
msg = MsgV2.createGroup(keys, opts?._nonce)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
return cb(new Error('group.create() failed', { cause: err }))
|
return cb(new Error('group.create() failed', { cause: err }))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue