Skip to content

Commit

Permalink
chore: remove useless field
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <[email protected]>
  • Loading branch information
gfanton committed Jun 7, 2024
1 parent e9b83b0 commit a35e7a7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions contribs/gnodev/pkg/dev/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ type NodeConfig struct {
NoReplay bool
MaxGasPerBlock int64
ChainID string
Txs []std.Tx
}

func DefaultNodeConfig(rootdir string) *NodeConfig {
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit a35e7a7

Please sign in to comment.