mirror of https://codeberg.org/pzp/pzp-db.git
fix typescript
This commit is contained in:
parent
7d5588ef4d
commit
4946afac12
|
@ -928,6 +928,7 @@ function initDB(peer, config) {
|
||||||
const tangles = populateTangles(tangleTemplates)
|
const tangles = populateTangles(tangleTemplates)
|
||||||
const accountTangle = new DBTangle(opts.account, records(), get)
|
const accountTangle = new DBTangle(opts.account, records(), get)
|
||||||
const accountTips = [...accountTangle.tips]
|
const accountTips = [...accountTangle.tips]
|
||||||
|
/**@type {MsgV4.CreateOpts}*/
|
||||||
const fullOpts = { ...opts, tangles, accountTips, keypair }
|
const fullOpts = { ...opts, tangles, accountTips, keypair }
|
||||||
|
|
||||||
// If opts ask for encryption, encrypt and put ciphertext in opts.data
|
// If opts ask for encryption, encrypt and put ciphertext in opts.data
|
||||||
|
|
Loading…
Reference in New Issue