Skip to content

Commit

Permalink
Merge pull request #3849
Browse files Browse the repository at this point in the history
119deb4 libwalletqt: fix typo in type (selsta)
  • Loading branch information
luigi1111 committed Mar 8, 2022
2 parents ea92f3f + 119deb4 commit fd8983a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libwalletqt/Wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
bool good;
u_int64_t total;
u_int64_t spent;
uint64_t total;
uint64_t 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();
return QString::fromStdString(result);
Expand Down

0 comments on commit fd8983a

Please sign in to comment.