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) =
111111 self.twoPassWriter.clear ()
112112 self.hashWriter.clear ()
113113
114- template appendLeaf (w: var RlpWriter , pfx: NibblesBuf , leafData: auto ) =
114+ template appendLeaf (w: var RlpWriter , pfx: NibblesBuf , leafData: Account | UInt256 ) =
115115 w.startList (2 )
116116 w.append (pfx.toHexPrefix (isLeaf = true ).data ())
117117 w.wrapEncoding (1 )
118118 w.append (leafData)
119119
120- template encodeLeaf (w: var AristoTrieWriter , pfx: NibblesBuf , leafData: auto ): HashKey =
120+ template encodeLeaf (w: var AristoTrieWriter , pfx: NibblesBuf , leafData: Account | UInt256 ): HashKey =
121121 w.clear ()
122122 w.tracker.appendLeaf (pfx, leafData)
123123
You can’t perform that action at this time.
0 commit comments