From ea53d20fbac3776b23418a38af0e219c6d83410d Mon Sep 17 00:00:00 2001 From: Maykel Arias Torres Date: Tue, 16 Oct 2018 20:20:35 -0400 Subject: [PATCH] [submodule] refs #8 Update submodule --- LibskycoinNet/skycoin/skycoinnet_wrap.c | 12 ++++++++---- gopath/src/github.com/skycoin/skycoin | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/LibskycoinNet/skycoin/skycoinnet_wrap.c b/LibskycoinNet/skycoin/skycoinnet_wrap.c index b25386f4..7787e3d2 100644 --- a/LibskycoinNet/skycoin/skycoinnet_wrap.c +++ b/LibskycoinNet/skycoin/skycoinnet_wrap.c @@ -1162,7 +1162,9 @@ FeeCalculator overflow(){ int keysCount = 4; int keyIndex = -1; int startNumber = -1; - for (int i = 0; i < length; i++) + int i; + int k; + for (i = 0; i < length; i++) { if (metadata[i] == '\"') { @@ -1171,7 +1173,7 @@ FeeCalculator overflow(){ { keyIndex = -1; metadata[i] = 0; - for (int k = 0; k < keysCount; k++) + for (k = 0; k < keysCount; k++) { if (strcmp(metadata + openingQuote + 1, keys[k]) == 0) { @@ -1303,7 +1305,8 @@ FeeCalculator overflow(){ parray->count = parray->count = n; coin__UxOut *p = (coin__UxOut *)parray->data; int result = 0; - for (int i = 0; i < n; i++) + int i; + for (i = 0; i < n; i++) { result = makeUxOut(p); if (result != 0) @@ -1380,7 +1383,8 @@ FeeCalculator overflow(){ if (result != 0) return 1; registerHandleClose(*handle); - for (int i = 0; i < n; i++) + int i; + for (i = 0; i < n; i++) { Transaction__Handle thandle; makeTransaction(&thandle); diff --git a/gopath/src/github.com/skycoin/skycoin b/gopath/src/github.com/skycoin/skycoin index 33cb6b94..2548b5fe 160000 --- a/gopath/src/github.com/skycoin/skycoin +++ b/gopath/src/github.com/skycoin/skycoin @@ -1 +1 @@ -Subproject commit 33cb6b94f0346e2835dd5b11fb0dc2ff3cdad3ef +Subproject commit 2548b5fe83f7d72929639d6f4148ddd3fa1e1b51