CoreDb+Aristo: Fix missing reference (#2079)

This commit is contained in:
Jordan Hrycaj 2024-03-15 12:35:35 +00:00 committed by GitHub
parent bfa756c36b
commit 1da58e8244
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -202,7 +202,10 @@ proc mptMethods(cMpt: AristoCoreDxMptRef): CoreDbMptFns =
stoRoot: cMpt.root,
stoAddr: cMpt.address)
else:
AristoCoreDbTrie(kind: CoreDbSubTrie(cMpt.root))
AristoCoreDbTrie(
base: cMpt.base,
kind: CoreDbSubTrie(cMpt.root))
cMpt.base.parent.bless trie
proc mptPersistent(