diff --git a/rai/core/core.cpp b/rai/core/core.cpp index fa1f266b..d5ed9a21 100644 --- a/rai/core/core.cpp +++ b/rai/core/core.cpp @@ -823,8 +823,7 @@ processor (*this), transactions (*this), peers (network.endpoint ()), service (processor_a), -//scale ("1000000000000000000000000000") // 10 ^ 27 -scale ("1") +scale ("100000000000000000000") { if (!init_a.error ()) { diff --git a/rai/test/client.cpp b/rai/test/client.cpp index 2963f083..eb99b6f3 100644 --- a/rai/test/client.cpp +++ b/rai/test/client.cpp @@ -186,7 +186,7 @@ TEST (client, scaling) TEST (client, scale_num) { rai::system system (24000, 1); - rai::uint128_t num ("0xf0000000000000000000000000000000"); + rai::uint128_t num ("100000000000000000000000000000000000000"); auto down (system.clients [0]->scale_down (num)); auto up (system.clients [0]->scale_up (down)); ASSERT_EQ (num, up);