summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorKonstantin Ullrich <konstantinullrich12@gmail.com>2024-08-26 15:37:12 +0200
committerKonstantin Ullrich <konstantinullrich12@gmail.com>2024-08-26 15:37:12 +0200
commit3bdf1a04cff5a03c11d233a4c72d7e093f95a1fe (patch)
tree1da4dd192f00321a1e007adb164a306ace95e0fd /patches
parent35633848e26dcf8cdc928de8df31f14eb9ee918c (diff)
minor fix
Diffstat (limited to 'patches')
-rw-r--r--patches/monero/0015-add-dummy-device-for-ledger.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/patches/monero/0015-add-dummy-device-for-ledger.patch b/patches/monero/0015-add-dummy-device-for-ledger.patch
index 4f88774..3ab7b52 100644
--- a/patches/monero/0015-add-dummy-device-for-ledger.patch
+++ b/patches/monero/0015-add-dummy-device-for-ledger.patch
@@ -427,10 +427,10 @@ index 8bdd75a5a..d8661b213 100644
using namespace std;
using namespace cryptonote;
-@@ -3299,4 +3302,94 @@ uint64_t WalletImpl::getBytesSent()
+@@ -3299,4 +3302,95 @@ uint64_t WalletImpl::getBytesSent()
return m_wallet->get_bytes_sent();
}
-
+
+
+// HIDAPI_DUMMY
+bool WalletImpl::getStateIsConnected() {
@@ -502,6 +502,7 @@ index 8bdd75a5a..d8661b213 100644
+ return;
+ #else
+ hw::io::device_io_dummy::receivedFromDevice = static_cast<unsigned char *>(malloc(len));
++ hw::io::device_io_dummy::receivedFromDeviceLength = len;
+ memset(hw::io::device_io_dummy::receivedFromDevice, 0, len);
+ memcpy(hw::io::device_io_dummy::receivedFromDevice, data, len);
+ hw::io::device_io_dummy::waitsForDeviceReceive = false;