Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use empty map instead of nil value for setting BaseApp.snapshotManager.extensions #12031

Merged
merged 12 commits into from
Jun 2, 2022
Merged
2 changes: 1 addition & 1 deletion baseapp/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (app *BaseApp) SetSnapshot(snapshotStore *snapshots.Store, opts snapshottyp
return
}
app.cms.SetSnapshotInterval(opts.Interval)
app.snapshotManager = snapshots.NewManager(snapshotStore, opts, app.cms, nil, app.logger)
app.snapshotManager = snapshots.NewManager(snapshotStore, opts, app.cms, map[string]snapshottypes.ExtensionSnapshotter{}, app.logger)
}

// SetInterfaceRegistry sets the InterfaceRegistry.
Expand Down