diff --git a/commands/export.go b/commands/export.go index 97a5d09..fd49f80 100644 --- a/commands/export.go +++ b/commands/export.go @@ -123,7 +123,7 @@ var exportInitCmd = &cobra.Command{ if rpcAddress == "" { rpcAddress = promptRpcAddress() } - if network.RpcAddress == "" { + if network.RpcAddress != rpcAddress { network.RpcAddress = rpcAddress } @@ -134,7 +134,7 @@ var exportInitCmd = &cobra.Command{ } forkedNetwork = promptForkedNetwork(networkNames) } - if network.ForkedNetwork == "" { + if network.ForkedNetwork != forkedNetwork { network.ForkedNetwork = forkedNetwork }