From 8610cdfca81034b55dcd4ec1485cf630a0a96c5a Mon Sep 17 00:00:00 2001 From: Tadas V Date: Tue, 7 Aug 2018 14:35:58 +0300 Subject: [PATCH] Fix compilation error --- cli/payments/main.go | 3 ++- scripts/test.sh | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/payments/main.go b/cli/payments/main.go index 0fe56a7..141b732 100644 --- a/cli/payments/main.go +++ b/cli/payments/main.go @@ -13,11 +13,12 @@ import ( var paymentsContract = flag.String("payments.contract", "", "Address of payments contract") var identity = flag.String("payments.identity", "", "Identity for balance checking") +var gethUrl = flag.String("geth.url", "", "URL value of started geth to connect") func main() { flag.Parse() - client, syncCompleted, err := helpers.LookupBackend() + client, syncCompleted, err := helpers.LookupBackend(*gethUrl) checkError(err) <-syncCompleted diff --git a/scripts/test.sh b/scripts/test.sh index 2f21ee4..6f2c87f 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,5 +1,4 @@ #!/bin/bash -set -e source scripts/helpers/output.sh