From a35e7a7f631f6f73a26423806a999948349b026a Mon Sep 17 00:00:00 2001 From: gfanton <8671905+gfanton@users.noreply.github.com> Date: Fri, 7 Jun 2024 14:10:38 +0200 Subject: [PATCH] chore: remove useless field Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com> --- contribs/gnodev/pkg/dev/node.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/contribs/gnodev/pkg/dev/node.go b/contribs/gnodev/pkg/dev/node.go index afe6b0947a3..a6379db723d 100644 --- a/contribs/gnodev/pkg/dev/node.go +++ b/contribs/gnodev/pkg/dev/node.go @@ -40,7 +40,6 @@ type NodeConfig struct { NoReplay bool MaxGasPerBlock int64 ChainID string - Txs []std.Tx } func DefaultNodeConfig(rootdir string) *NodeConfig { @@ -122,8 +121,6 @@ func NewDevNode(ctx context.Context, cfg *NodeConfig) (*Node, error) { Txs: append(pkgsTxs, cfg.InitialTxs...), } - genesis.Txs = append(genesis.Txs, cfg.Txs...) - if err := devnode.rebuildNode(ctx, genesis); err != nil { return nil, fmt.Errorf("unable to initialize the node: %w", err) }