File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
execution_chain/db/aristo Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,13 +111,13 @@ func clear(self: var AristoTrieWriter) =
111
111
self.twoPassWriter.clear()
112
112
self.hashWriter.clear()
113
113
114
- template appendLeaf(w: var RlpWriter, pfx: NibblesBuf, leafData: auto ) =
114
+ template appendLeaf(w: var RlpWriter, pfx: NibblesBuf, leafData: Account | UInt256 ) =
115
115
w.startList(2 )
116
116
w.append(pfx.toHexPrefix(isLeaf = true ).data())
117
117
w.wrapEncoding(1 )
118
118
w.append(leafData)
119
119
120
- template encodeLeaf(w: var AristoTrieWriter, pfx: NibblesBuf, leafData: auto ): HashKey =
120
+ template encodeLeaf(w: var AristoTrieWriter, pfx: NibblesBuf, leafData: Account | UInt256 ): HashKey =
121
121
w.clear()
122
122
w.tracker.appendLeaf(pfx, leafData)
123
123
You can’t perform that action at this time.
0 commit comments