mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
fix: add missing term when merging two deletion proofs (#353)
* fix: merge emptyTermPaths * bump version --------- Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
This commit is contained in:
parent
74725fbe2c
commit
9b943f3e0b
2 changed files with 5 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ import (
|
|||
const (
|
||||
VersionMajor = 4 // Major version component of the current release
|
||||
VersionMinor = 0 // Minor version component of the current release
|
||||
VersionPatch = 1 // Patch version component of the current release
|
||||
VersionPatch = 2 // Patch version component of the current release
|
||||
VersionMeta = "sepolia" // Version metadata to append to the version string
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -58,6 +58,10 @@ func (t *ProofTracer) Merge(another *ProofTracer) *ProofTracer {
|
|||
t.rawPaths[k] = v
|
||||
}
|
||||
|
||||
for k, v := range another.emptyTermPaths {
|
||||
t.emptyTermPaths[k] = v
|
||||
}
|
||||
|
||||
return t
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue