diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-05-19 15:56:30 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-05-19 15:59:26 +0000 |
commit | 72cdfa4a204cb6da2fd47abf7454845a6892f644 (patch) | |
tree | 673d65884ab4776f8aa875e1c3a3517afa25f83d /src/device/device_ledger.cpp | |
parent | Merge pull request #6510 (diff) | |
download | monero-72cdfa4a204cb6da2fd47abf7454845a6892f644.tar.xz |
fix a few typos in error messages
Reported by adrelanos
Diffstat (limited to '')
-rw-r--r-- | src/device/device_ledger.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/device/device_ledger.cpp b/src/device/device_ledger.cpp index 222a84d3f..0173b6ef7 100644 --- a/src/device/device_ledger.cpp +++ b/src/device/device_ledger.cpp @@ -1108,7 +1108,7 @@ namespace hw { for(size_t n=0; n < additional_derivations.size();++n) { if(derivation == additional_derivations[n]) { pkey = &additional_tx_pub_keys[n]; - MDEBUG("conceal derivation with additionnal tx pub key"); + MDEBUG("conceal derivation with additional tx pub key"); break; } } @@ -1640,20 +1640,20 @@ namespace hw { //if (tx_version > 1) { - ASSERT_X(recv_len>=32, "Not enought data from device"); + ASSERT_X(recv_len>=32, "Not enough data from device"); crypto::secret_key scalar1; this->receive_secret((unsigned char*)scalar1.data, offset); amount_keys.push_back(rct::sk2rct(scalar1)); recv_len -= 32; } - ASSERT_X(recv_len>=32, "Not enought data from device"); + ASSERT_X(recv_len>=32, "Not enough data from device"); memmove(out_eph_public_key.data, &this->buffer_recv[offset], 32); recv_len -= 32; offset += 32; if (need_additional_txkeys) { - ASSERT_X(recv_len>=32, "Not enought data from device"); + ASSERT_X(recv_len>=32, "Not enough data from device"); memmove(additional_txkey.pub.data, &this->buffer_recv[offset], 32); additional_tx_public_keys.push_back(additional_txkey.pub); offset += 32; |