Skip to content

Commit 6d0c27b

Browse files
committed
fix: unable to use askar with in memory db
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
1 parent 4b1fa13 commit 6d0c27b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aries_cloudagent/askar/store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ async def open_store(self, provision: bool = False) -> "AskarOpenStore":
146146
"""
147147

148148
try:
149-
if provision:
149+
if provision or self.in_memory:
150150
store = await Store.provision(
151151
self.get_uri(create=True),
152152
self.key_derivation_method,

0 commit comments

Comments
 (0)