diff --git a/stdserv.js b/stdserv.js index fe681414e..676aaa949 100644 --- a/stdserv.js +++ b/stdserv.js @@ -17,7 +17,7 @@ config.then(function() { web3.eth.accounts.then(function(accounts) { var funded = send(accounts[0], '100000000000000000000', accounts[1]); - funded.then(function(){ env.note("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); regName(accounts[1], 'Gav Would'); env.note("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); approve(accounts[1], exchange); }); + funded.then(function(){ regName(accounts[1], 'Gav Would'); approve(accounts[1], exchange); }); regName(accounts[0], 'Gav'); approve(accounts[0], exchange).then(function(){ offer(accounts[0], coin, '5000', '0', '5000000000000000000'); }); diff --git a/test/crypto.cpp b/test/crypto.cpp index 08236135a..87047f0d4 100644 --- a/test/crypto.cpp +++ b/test/crypto.cpp @@ -140,7 +140,7 @@ BOOST_AUTO_TEST_CASE(cryptopp_ecdsa_sipaseckp256k1) KeyPair key(secret); bytes m(1, 0xff); - int tests = 2; + int tests = 2 while (m[0]++, tests--) { h256 hm(sha3(m));