Browse Source

Merge pull request #1540 from fanquake/master

Fix a Couple Typos
miguelfreitas
Jeff Garzik 13 years ago
parent
commit
eca96d7118
  1. 2
      src/base58.h
  2. 2
      src/qt/test/uritests.cpp
  3. 2
      src/test/mruset_tests.cpp
  4. 2
      src/test/wallet_tests.cpp

2
src/base58.h

@ -71,7 +71,7 @@ inline std::string EncodeBase58(const std::vector<unsigned char>& vch) @@ -71,7 +71,7 @@ inline std::string EncodeBase58(const std::vector<unsigned char>& vch)
}
// 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)
{
CAutoBN_CTX pctx;

2
src/qt/test/uritests.cpp

@ -59,7 +59,7 @@ void URITests::uriTests() @@ -59,7 +59,7 @@ void URITests::uriTests()
QVERIFY(rv.address == QString("175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W"));
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"));
QVERIFY(!GUIUtil::parseBitcoinURI(uri, &rv));

2
src/test/mruset_tests.cpp

@ -71,7 +71,7 @@ int static permute(int n) @@ -71,7 +71,7 @@ int static permute(int n)
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)
{
mruset<int> mru(MAX_SIZE);

2
src/test/wallet_tests.cpp

@ -121,7 +121,7 @@ BOOST_AUTO_TEST_CASE(coin_selection_tests) @@ -121,7 +121,7 @@ BOOST_AUTO_TEST_CASE(coin_selection_tests)
BOOST_CHECK_EQUAL(nValueRet, 10 * CENT);
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();
add_coin( 6*CENT);

Loading…
Cancel
Save