aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2012-06-30 17:05:28 +0800
committerfanquake <fanquake@gmail.com>2012-06-30 17:05:28 +0800
commit7790f391abf0b0c03190fabfbc75050b2cba170b (patch)
treecbe6144495f14334806d81bf3d9ad333eafce871
parente7494052975c60032629112390325f7e20817308 (diff)
downloadbitcoin-7790f391abf0b0c03190fabfbc75050b2cba170b.tar.xz
Fix a couple more typos
-rw-r--r--src/base58.h2
-rw-r--r--src/qt/test/uritests.cpp2
-rw-r--r--src/test/mruset_tests.cpp2
-rw-r--r--src/test/wallet_tests.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/base58.h b/src/base58.h
index 58149976f2..215fd33324 100644
--- a/src/base58.h
+++ b/src/base58.h
@@ -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;
diff --git a/src/qt/test/uritests.cpp b/src/qt/test/uritests.cpp
index 70c20be0ea..a281c39ca5 100644
--- a/src/qt/test/uritests.cpp
+++ b/src/qt/test/uritests.cpp
@@ -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));
diff --git a/src/test/mruset_tests.cpp b/src/test/mruset_tests.cpp
index ca5a1f1b12..64a6678a73 100644
--- a/src/test/mruset_tests.cpp
+++ b/src/test/mruset_tests.cpp
@@ -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);
diff --git a/src/test/wallet_tests.cpp b/src/test/wallet_tests.cpp
index 9b77b284e6..2f6da932a6 100644
--- a/src/test/wallet_tests.cpp
+++ b/src/test/wallet_tests.cpp
@@ -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);