diff options
author | fanquake <fanquake@gmail.com> | 2012-06-29 17:26:45 +0800 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-07-05 23:54:41 +0000 |
commit | 46761b339cd57c5de56c2ae5c7a6d8fa592567ce (patch) | |
tree | 5c22fbbd130c9289a5114ebfbbb210c35a30cd3d /src | |
parent | ee29ad27b365be363fdbc7f4db99c306c090404c (diff) | |
download | bitcoin-46761b339cd57c5de56c2ae5c7a6d8fa592567ce.tar.xz |
Fix a few typos
Diffstat (limited to 'src')
-rw-r--r-- | src/base58.h | 6 | ||||
-rw-r--r-- | src/util.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/base58.h b/src/base58.h index d92054da04..8ee05b073b 100644 --- a/src/base58.h +++ b/src/base58.h @@ -117,7 +117,7 @@ inline bool DecodeBase58(const char* psz, std::vector<unsigned char>& vchRet) } // Decode a base58-encoded string str into byte vector vchRet -// returns true if decoding is succesful +// returns true if decoding is successful inline bool DecodeBase58(const std::string& str, std::vector<unsigned char>& vchRet) { return DecodeBase58(str.c_str(), vchRet); @@ -137,7 +137,7 @@ inline std::string EncodeBase58Check(const std::vector<unsigned char>& vchIn) } // Decode a base58-encoded string psz that includes a checksum, into byte vector vchRet -// returns true if decoding is succesful +// returns true if decoding is successful inline bool DecodeBase58Check(const char* psz, std::vector<unsigned char>& vchRet) { if (!DecodeBase58(psz, vchRet)) @@ -158,7 +158,7 @@ inline bool DecodeBase58Check(const char* psz, std::vector<unsigned char>& vchRe } // Decode a base58-encoded string str that includes a checksum, into byte vector vchRet -// returns true if decoding is succesful +// returns true if decoding is successful inline bool DecodeBase58Check(const std::string& str, std::vector<unsigned char>& vchRet) { return DecodeBase58Check(str.c_str(), vchRet); diff --git a/src/util.cpp b/src/util.cpp index 0311203828..1f120e18d6 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -946,7 +946,7 @@ void ShrinkDebugFile() // "Never go to sea with two chronometers; take one or three." // Our three time sources are: // - System clock -// - Median of other nodes's clocks +// - Median of other nodes clocks // - The user (asking the user to fix the system clock if the first two disagree) // static int64 nMockTime = 0; // For unit testing @@ -1061,7 +1061,7 @@ string FormatFullVersion() // --> may result in deadlock between the two threads, depending on when they run. // Solution implemented here: // Keep track of pairs of locks: (A before B), (A before C), etc. -// Complain if any thread trys to lock in a different order. +// Complain if any thread tries to lock in a different order. // struct CLockLocation |