Browse Source

BlockWeight: jsonrpc fix

refactoring
cl-refactor
winsvega 10 years ago
parent
commit
203a2cb88c
  1. 4
      test/libweb3jsonrpc/jsonrpc.cpp

4
test/libweb3jsonrpc/jsonrpc.cpp

@ -35,7 +35,7 @@
#include <jsonrpccpp/client/connectors/httpclient.h> #include <jsonrpccpp/client/connectors/httpclient.h>
#include <set> #include <set>
#include "../JsonSpiritHeaders.h" #include "../JsonSpiritHeaders.h"
#include "../TestHelper.h" #include "<test/TestHelper.h>"
#include "webthreestubclient.h" #include "webthreestubclient.h"
BOOST_AUTO_TEST_SUITE(jsonrpc) BOOST_AUTO_TEST_SUITE(jsonrpc)
@ -75,7 +75,7 @@ struct Setup
string fromAscii(string _s) string fromAscii(string _s)
{ {
bytes b = asBytes(_s); bytes b = asBytes(_s);
return jsonHex(b); return toHex(b, 2, HexPrefix::Add);
} }
BOOST_FIXTURE_TEST_SUITE(environment, Setup) BOOST_FIXTURE_TEST_SUITE(environment, Setup)

Loading…
Cancel
Save