Add function to get string state attributes for a given contract
This commit is contained in:
+1
-1
@@ -17,9 +17,9 @@ func main() {
|
||||
environment := flag.String("environment", "", "Environment name")
|
||||
flag.Parse()
|
||||
config := cmd.LoadConfig(*environment)
|
||||
fmt.Println("Client Path ", config.Client.IPCPath)
|
||||
|
||||
repository := repositories.NewPostgres(config.Database)
|
||||
fmt.Printf("Creating Geth Blockchain to: %s\n", config.Client.IPCPath)
|
||||
listener := blockchain_listener.NewBlockchainListener(
|
||||
geth.NewGethBlockchain(config.Client.IPCPath),
|
||||
[]core.BlockchainObserver{
|
||||
|
||||
Reference in New Issue
Block a user