aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-06-30 07:25:32 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-06-30 07:25:32 -0700
commiteca96d71187ddd053fa3be0e9e396b4a700d9ae0 (patch)
treec6dd915c00600006193736e72ad40cf148884e25 /src
parentb5ec1da9e9d7d9c0b18a21e9f3867f356420ec8a (diff)
parent7790f391abf0b0c03190fabfbc75050b2cba170b (diff)
Merge pull request #1540 from fanquake/master
Fix a Couple Typos
Diffstat (limited to 'src')
-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);