Skip to content
Snippets Groups Projects
Commit 75816141 authored by Jono Wenger's avatar Jono Wenger
Browse files

Fix changes from merge

parent f920d7b7
No related branches found
No related tags found
3 merge requests!60Revert "Fail a test to be sure it works",!21added optional db encryption,!20Create JS bindings for ChannelDbCipher
......@@ -12,7 +12,7 @@ package indexedDb
import (
"github.com/pkg/errors"
cryptoChannel "gitlab.com/elixxir/crypto/channel"
"gitlab.com/elixxir/xxdk-wasm/utils"
"gitlab.com/elixxir/xxdk-wasm/storage"
"syscall/js"
"github.com/hack-pad/go-indexeddb/idb"
......@@ -92,7 +92,7 @@ func newWASMModel(databaseName string, encryption cryptoChannel.Cipher,
db, err := openRequest.Await(ctx)
encryptionStatus := encryption != nil
loadedEncryptionStatus, err := utils.StoreIndexedDbEncryptionStatus(
loadedEncryptionStatus, err := storage.StoreIndexedDbEncryptionStatus(
databaseName, encryptionStatus)
if err != nil {
return nil, err
......
......@@ -5,7 +5,7 @@
// LICENSE file. //
////////////////////////////////////////////////////////////////////////////////
package utils
package storage
import (
"github.com/pkg/errors"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment