Merge pull request #28 from openrelayxyz/bugfix/freezer-leak
Bugfix/freezer leak
This commit is contained in:
commit
aaf9446523
@ -43,7 +43,7 @@ func PluginCommitUpdate(pl *plugins.PluginLoader, num uint64) {
|
||||
}
|
||||
for i := min ; i < num; i++ {
|
||||
update, ok := freezerUpdates[i]
|
||||
defer func() { delete(freezerUpdates, i) }()
|
||||
defer func(i uint64) { delete(freezerUpdates, i) }(i)
|
||||
if !ok {
|
||||
log.Warn("Attempting to commit untracked block", "num", i)
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user