From eda0b281d25c92250ff06a4916971084dace1eef Mon Sep 17 00:00:00 2001 From: Henrik Soerensen Date: Tue, 23 Jul 2024 16:11:38 -0400 Subject: [PATCH] Add TODOs --- tools/utils/network_utils.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/utils/network_utils.go b/tools/utils/network_utils.go index 6b770e4..3835d74 100644 --- a/tools/utils/network_utils.go +++ b/tools/utils/network_utils.go @@ -9,7 +9,10 @@ import ( "path/filepath" ) +// TODO: Separate network io from blockchain network + const ( + // TODO: Create an enum to hold predefined network values testNet = "testnet" envNetworkVar = "VOINETWORK_NETWORK" envGenesisURLVar = "VOINETWORK_GENESIS" @@ -49,6 +52,7 @@ func (nu NetworkUtils) GetNetworkFromEnv() (string, bool) { return "", false } +// TODO: Remove duplication by extracting the common code to a function func (nu NetworkUtils) GetEnvProfileVar() string { return envProfileVar }