message: fix util_tests: ppcoin COIN != bitcoin COIN
diff: @@ -194,8 +194,10 @@ BOOST_AUTO_TEST_CASE(util_FormatMoney)
  BOOST_CHECK_EQUAL(FormatMoney(COIN/10000, false), "0.0001");
  BOOST_CHECK_EQUAL(FormatMoney(COIN/100000, false), "0.00001");
  BOOST_CHECK_EQUAL(FormatMoney(COIN/1000000, false), "0.000001");
  - BOOST_CHECK_EQUAL(FormatMoney(COIN/10000000, false), "0.0000001");
  - BOOST_CHECK_EQUAL(FormatMoney(COIN/100000000, false), "0.00000001");
  +
  +// ppcoin: COIN = 1000000, cannot format money smaller than one satoshi
  + BOOST_CHECK_NE(FormatMoney(COIN/10000000, false), "0.0000001");
  + BOOST_CHECK_NE(FormatMoney(COIN/100000000, false), "0.00000001");
  }
  BOOST_AUTO_TEST_CASE(util_ParseMoney)
  @@ -237,10 +239,10 @@ BOOST_AUTO_TEST_CASE(util_ParseMoney)
  BOOST_CHECK_EQUAL(ret, COIN/100000);
  BOOST_CHECK(ParseMoney("0.000001", ret));
  BOOST_CHECK_EQUAL(ret, COIN/1000000);
  - BOOST_CHECK(ParseMoney("0.0000001", ret));
  - BOOST_CHECK_EQUAL(ret, COIN/10000000);
  - BOOST_CHECK(ParseMoney("0.00000001", ret));
  - BOOST_CHECK_EQUAL(ret, COIN/100000000);
  +
  +// ppcoin: COIN = 1000000, cannot parse money smaller than one satoshi
  + BOOST_CHECK(!ParseMoney("0.0000001", ret));
  + BOOST_CHECK(!ParseMoney("0.00000001", ret));
  // Attempted 63 bit overflow should fail
  BOOST_CHECK(!ParseMoney("92233720368.54775808", ret));
  