Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemadero committed Dec 12, 2022
1 parent a3e8ec8 commit 0593a33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions local/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -758,8 +758,8 @@ func (ln *localNetwork) setBlockchainConfigFiles(
for nodeName := range ln.nodes {
if cfg, ok := chainSpec.PerNodeChainConfig[nodeName]; ok {
ln.nodes[nodeName].config.ChainConfigFiles[chainAlias] = string(cfg)
} else {
delete(ln.nodes[nodeName].config.ChainConfigFiles, chainAlias)
} else {
delete(ln.nodes[nodeName].config.ChainConfigFiles, chainAlias)
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ var (
)

type BlockchainSpec struct {
VmName string
Genesis []byte
SubnetId *string
ChainConfig []byte
NetworkUpgrade []byte
SubnetConfig []byte
VmName string
Genesis []byte
SubnetId *string
ChainConfig []byte
NetworkUpgrade []byte
SubnetConfig []byte
PerNodeChainConfig map[string][]byte
}

Expand Down

0 comments on commit 0593a33

Please sign in to comment.