Left comments on all PluGeth code injections
This commit is contained in:
committed by
Austin Roberts
parent
4211c5c401
commit
fd0aaa1d6b
+2
-1
@@ -328,6 +328,7 @@ func prepare(ctx *cli.Context) {
|
||||
// It creates a default node based on the command line arguments and runs it in
|
||||
// blocking mode, waiting for it to be shut down.
|
||||
func geth(ctx *cli.Context) error {
|
||||
//begin PluGeth code injection
|
||||
if err := plugins.Initialize(path.Join(ctx.GlobalString(utils.DataDirFlag.Name), "plugins"), ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -346,7 +347,7 @@ func geth(ctx *cli.Context) error {
|
||||
}
|
||||
defer stack.Close()
|
||||
stack.RegisterAPIs(pluginGetAPIs(stack, wrapperBackend))
|
||||
|
||||
//end PluGeth code injection
|
||||
startNode(ctx, stack, backend, false)
|
||||
stack.Wait()
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user