aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-03-05 19:10:22 +0200
committerRiccardo Spagni <ric@spagni.net>2018-03-05 19:10:22 +0200
commit302aedb845a64f511f40251cfad35bbdc04c4dd1 (patch)
treefdecfb85c0c37dea5436d8c971ef5afca2c2c4d7 /src/simplewallet
parentMerge pull request #3303 (diff)
parentCorrect spelling mistakes. (diff)
downloadmonero-302aedb845a64f511f40251cfad35bbdc04c4dd1.tar.xz
Merge pull request #3156
fbcc91c2 Correct spelling mistakes. (Edward Betts)
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 02deee0c7..3c940bfef 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -2589,7 +2589,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
try
{
year = boost::lexical_cast<uint16_t>(heightstr.substr(0,4));
- // lexical_cast<uint8_t> won't work becasue uint8_t is treated as character type
+ // lexical_cast<uint8_t> won't work because uint8_t is treated as character type
month = boost::lexical_cast<uint16_t>(heightstr.substr(5,2));
day = boost::lexical_cast<uint16_t>(heightstr.substr(8,2));
m_restore_height = m_wallet->get_blockchain_height_by_date(year, month, day);