unused var

This commit is contained in:
Roy Crihfield 2024-08-06 19:08:21 -05:00
parent 50224c1273
commit 5645fb3c09

View File

@ -26,7 +26,7 @@ func Initialize(ctx core.Context, pl core.PluginLoader, logger core.Logger) {
gethContext = ctx gethContext = ctx
} }
func InitializeNode(stack core.Node, b core.Backend) { func InitializeNode(_ core.Node, b core.Backend) {
backend := b.(restricted.Backend) backend := b.(restricted.Backend)
networkid, err := strconv.ParseUint(gethContext.String(geth_flags.NetworkIdFlag.Name), 10, 64) networkid, err := strconv.ParseUint(gethContext.String(geth_flags.NetworkIdFlag.Name), 10, 64)