aboutsummaryrefslogtreecommitdiff
path: root/src/base58.h
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2012-06-29 17:26:45 +0800
committerfanquake <fanquake@gmail.com>2012-06-29 17:26:45 +0800
commite7494052975c60032629112390325f7e20817308 (patch)
tree7ed7831315250c54c0f7738166ace95b5e29f151 /src/base58.h
parent5fa83965f22ae92f86de74104b621c2168d37698 (diff)
Fix a few typos
Diffstat (limited to 'src/base58.h')
-rw-r--r--src/base58.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base58.h b/src/base58.h
index b492cd683c..58149976f2 100644
--- a/src/base58.h
+++ b/src/base58.h
@@ -119,7 +119,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);
@@ -139,7 +139,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))
@@ -160,7 +160,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);