Fix bug where the defensive copy loses the computed leaf paths.
This commit is contained in:
parent
1b72d2f737
commit
29000d9404
@ -90,7 +90,9 @@ func (p *ParamsWithMutex) CopyParams() Params {
|
|||||||
p.RLock()
|
p.RLock()
|
||||||
defer p.RUnlock()
|
defer p.RUnlock()
|
||||||
|
|
||||||
return p.Params.Copy()
|
copy := p.Params.Copy()
|
||||||
|
copy.ComputeWatchedAddressesLeafPaths()
|
||||||
|
return copy
|
||||||
}
|
}
|
||||||
|
|
||||||
// Args bundles the arguments for the state diff builder
|
// Args bundles the arguments for the state diff builder
|
||||||
|
Loading…
Reference in New Issue
Block a user