Merge Geth v1.10.21 as well as update to Plugeth-Utils v0.0.18
This commit is contained in:
commit
81a8106bc6
380 files changed
+6936
-6262
No files matched your search
@@ -13,7 +13,7 @@ import (
|
||||
|
||||
"github.com/ethereum/go-ethereum/event"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
"gopkg.in/urfave/cli.v1"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
type Subcommand func(*cli.Context, []string) error
|
||||
@@ -132,7 +132,7 @@ func (pl *PluginLoader) Initialize(ctx *cli.Context) {
|
||||
}
|
||||
|
||||
func (pl *PluginLoader) RunSubcommand(ctx *cli.Context) (bool, error) {
|
||||
args := ctx.Args()
|
||||
args := ctx.Args().Slice()
|
||||
if len(args) == 0 {
|
||||
return false, fmt.Errorf("no subcommand arguments")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user