mirror of
https://github.com/wownero/wowlet.git
synced 2026-11-12 19:24:13 +01:00
Compare base addresses due to wallet2 integrated address inconsistency
This commit is contained in:
@@ -250,6 +250,11 @@ QString WalletManager::paymentIdFromAddress(const QString &address, NetworkType:
|
||||
return QString::fromStdString(Monero::Wallet::paymentIdFromAddress(address.toStdString(), static_cast<Monero::NetworkType>(nettype)));
|
||||
}
|
||||
|
||||
QString WalletManager::baseAddressFromIntegratedAddress(const QString &address, NetworkType::Type nettype)
|
||||
{
|
||||
return QString::fromStdString(Monero::Wallet::baseAddressFromIntegratedAddress(address.toStdString(), static_cast<Monero::NetworkType>(nettype))) ;
|
||||
}
|
||||
|
||||
bool WalletManager::isDaemonLocal(const QString &daemon_address) const
|
||||
{
|
||||
return daemon_address.isEmpty() ? false : Monero::Utils::isAddressLocal(daemon_address.toStdString());
|
||||
|
||||
@@ -98,6 +98,7 @@ public:
|
||||
static bool keyValid(const QString &key, const QString &address, bool isViewKey, NetworkType::Type nettype);
|
||||
|
||||
QString paymentIdFromAddress(const QString &address, NetworkType::Type nettype) const;
|
||||
static QString baseAddressFromIntegratedAddress(const QString &address, NetworkType::Type nettype);
|
||||
|
||||
bool isDaemonLocal(const QString &daemon_address) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user