fix: separate idb by netId
This commit is contained in:
parent
c7d1a5cb8e
commit
497675ad27
6 changed files with 78 additions and 79 deletions
|
@ -13,8 +13,9 @@ class MerkleTreeService {
|
|||
this.commitment = commitment
|
||||
this.instanceName = instanceName
|
||||
|
||||
this.idb = window.$nuxt.$indexedDB
|
||||
this.idb = window.$nuxt.$indexedDB(netId)
|
||||
this.bloomService = bloomService({
|
||||
netId,
|
||||
amount,
|
||||
commitment,
|
||||
instanceName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue