Skip to content

Commit bdbedba

Browse files
jimwfsjimwfs
andauthored
chore: fix typos (#1971)
Co-authored-by: jimwfs <169986508+jimwfs@users.noreply.github.com>
1 parent 902be6b commit bdbedba

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

wallet/transactions/dex/dex_tx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ namespace beam::wallet
8585
// const auto peeraddr = _wdb->getAddress(*peerID);
8686
// if (peeraddr)
8787
// {
88-
// throw InvalidTransactionParametersException("DexSimpleSwap transaction should not save peer adddress");
88+
// throw InvalidTransactionParametersException("DexSimpleSwap transaction should not save peer address");
8989
// }
9090

9191
//

wallet/transactions/swaps/bridges/ethereum/ethereum_side.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ Amount EthereumSide::CalcLockTxFee(Amount priceGas, AtomicSwapCoin swapCoin)
671671

672672
if (IsEthToken(swapCoin))
673673
{
674-
result += 2 * priceGas * ethereum::kApproveTxGasLimit; // sometimes need 2 appove
674+
result += 2 * priceGas * ethereum::kApproveTxGasLimit; // sometimes need 2 approve
675675
}
676676

677677
return result;
@@ -846,4 +846,4 @@ std::string EthereumSide::GetContractAddressStr() const
846846
return m_settingsProvider.GetSettings().GetContractAddress(IsHashLockScheme());
847847
}
848848

849-
} // namespace beam::wallet
849+
} // namespace beam::wallet

wallet/transactions/swaps/bridges/qtum/common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace
2121
constexpr uint8_t kQtumMainnetP2KH = 0x3a;
2222
constexpr uint8_t kQtumTestnetP2KH = 0x78;
2323

24-
// TODO roman.strilets it's dupplicate (ethereum/common.cpp)
24+
// TODO roman.strilets it's duplicate (ethereum/common.cpp)
2525
libbitcoin::wallet::hd_private ProcessHDPrivate(const libbitcoin::wallet::hd_private& privateKey, uint32_t index, bool hard = true)
2626
{
2727
static constexpr auto first = libbitcoin::wallet::hd_first_hardened_key;

0 commit comments

Comments
 (0)