mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 19:49:34 +00:00
libwalletqt: fix typo in type
This commit is contained in:
parent
ea92f3f272
commit
119deb4e82
1 changed files with 2 additions and 2 deletions
|
@ -856,8 +856,8 @@ Q_INVOKABLE QString Wallet::getReserveProof(bool all, quint32 account_index, qui
|
||||||
Q_INVOKABLE QString Wallet::checkReserveProof(const QString &address, const QString &message, const QString &signature) const
|
Q_INVOKABLE QString Wallet::checkReserveProof(const QString &address, const QString &message, const QString &signature) const
|
||||||
{
|
{
|
||||||
bool good;
|
bool good;
|
||||||
u_int64_t total;
|
uint64_t total;
|
||||||
u_int64_t spent;
|
uint64_t spent;
|
||||||
bool success = m_walletImpl->checkReserveProof(address.toStdString(), message.toStdString(), signature.toStdString(), good, total, spent);
|
bool success = m_walletImpl->checkReserveProof(address.toStdString(), message.toStdString(), signature.toStdString(), good, total, spent);
|
||||||
std::string result = std::string(success ? "true" : "false") + "|" + std::string(good ? "true" : "false") + "|" + QString::number(total).toStdString() + "|" + QString::number(spent).toStdString();
|
std::string result = std::string(success ? "true" : "false") + "|" + std::string(good ? "true" : "false") + "|" + QString::number(total).toStdString() + "|" + QString::number(spent).toStdString();
|
||||||
return QString::fromStdString(result);
|
return QString::fromStdString(result);
|
||||||
|
|
Loading…
Reference in a new issue