Fix a couple more typos

This commit is contained in:
fanquake 2012-06-30 17:05:28 +08:00
parent e749405297
commit 7790f391ab
4 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ inline std::string EncodeBase58(const std::vector<unsigned char>& vch)
} }
// Decode a base58-encoded string psz into byte vector vchRet // Decode a base58-encoded string psz into byte vector vchRet
// returns true if decoding is succesful // returns true if decoding is successful
inline bool DecodeBase58(const char* psz, std::vector<unsigned char>& vchRet) inline bool DecodeBase58(const char* psz, std::vector<unsigned char>& vchRet)
{ {
CAutoBN_CTX pctx; CAutoBN_CTX pctx;

View File

@ -59,7 +59,7 @@ void URITests::uriTests()
QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W")); QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W"));
QVERIFY(rv.label == QString()); QVERIFY(rv.label == QString());
// We currently dont implement the message paramenter (ok, yea, we break spec...) // We currently don't implement the message parameter (ok, yea, we break spec...)
uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?req-message=Wikipedia Example Address")); uri.setUrl(QString("bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?req-message=Wikipedia Example Address"));
QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv)); QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv));

View File

@ -71,7 +71,7 @@ int static permute(int n)
return ret; return ret;
} }
// Test that an mruset acts like a moving window, if no duplcate elements are added // Test that an mruset acts like a moving window, if no duplicate elements are added
BOOST_AUTO_TEST_CASE(mruset_window) BOOST_AUTO_TEST_CASE(mruset_window)
{ {
mruset<int> mru(MAX_SIZE); mruset<int> mru(MAX_SIZE);

View File

@ -121,7 +121,7 @@ BOOST_AUTO_TEST_CASE(coin_selection_tests)
BOOST_CHECK_EQUAL(nValueRet, 10 * CENT); BOOST_CHECK_EQUAL(nValueRet, 10 * CENT);
BOOST_CHECK_EQUAL(setCoinsRet.size(), 1); BOOST_CHECK_EQUAL(setCoinsRet.size(), 1);
// now clear out the wallet and start again to test chosing between subsets of smaller coins and the next biggest coin // now clear out the wallet and start again to test choosing between subsets of smaller coins and the next biggest coin
empty_wallet(); empty_wallet();
add_coin( 6*CENT); add_coin( 6*CENT);