From 119deb4e82bedd9debfab02fc764ac83a23b32a4 Mon Sep 17 00:00:00 2001 From: selsta Date: Fri, 4 Mar 2022 01:55:04 +0100 Subject: [PATCH] libwalletqt: fix typo in type --- src/libwalletqt/Wallet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 6c22c91a4e..eef80b9782 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -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);