From 1da58e8244c360a7ca9a84bb98e6a1cd9a3fc122 Mon Sep 17 00:00:00 2001 From: Jordan Hrycaj Date: Fri, 15 Mar 2024 12:35:35 +0000 Subject: [PATCH] CoreDb+Aristo: Fix missing reference (#2079) --- nimbus/db/core_db/backend/aristo_db/handlers_aristo.nim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nimbus/db/core_db/backend/aristo_db/handlers_aristo.nim b/nimbus/db/core_db/backend/aristo_db/handlers_aristo.nim index 44d5f205a..eed520ee9 100644 --- a/nimbus/db/core_db/backend/aristo_db/handlers_aristo.nim +++ b/nimbus/db/core_db/backend/aristo_db/handlers_aristo.nim @@ -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(