diff --git a/conf/model/blockchain_configuration.go b/conf/model/blockchain_configuration.go index e4155c57e..1c5bc302c 100644 --- a/conf/model/blockchain_configuration.go +++ b/conf/model/blockchain_configuration.go @@ -16,12 +16,14 @@ package model +import "os" + type BlockChainConfiguration struct { GenesisConfPath string } func NewBlockChainConfiguration() BlockChainConfiguration { return BlockChainConfiguration{ - GenesisConfPath: "./Genesis.conf", + GenesisConfPath: os.Getenv("GOPATH") + "/src/github.com/it-chain/engine/Genesis.conf", } }