summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorcyan <cyjan@mrcyjanek.net>2025-02-11 16:11:45 +0100
committerGitHub <noreply@github.com>2025-02-11 16:11:45 +0100
commit9d9b1f2f2373fc9a99c6556a93eea63fe343cf58 (patch)
tree802fc91aadeed8ac8f8ebb9de177a698c00a8dbf /patches
parent09c6d2e5f8ae8e9f4c5efe5b7bfe72911462a32b (diff)
Fix ledger issue (#114)v0.18.3.4-RC11
* Fix ledger issue (https://github.com/cake-tech/cake_wallet/issues/2007) * cleanup debug message
Diffstat (limited to 'patches')
-rw-r--r--patches/monero/0007-add-dummy-device-for-ledger.patch4
-rw-r--r--patches/wownero/0008-add-dummy-device-for-ledger.patch4
2 files changed, 4 insertions, 4 deletions
diff --git a/patches/monero/0007-add-dummy-device-for-ledger.patch b/patches/monero/0007-add-dummy-device-for-ledger.patch
index b9e1bea..3a91bb1 100644
--- a/patches/monero/0007-add-dummy-device-for-ledger.patch
+++ b/patches/monero/0007-add-dummy-device-for-ledger.patch
@@ -86,7 +86,7 @@ index e6cd358..777584c 100644
device_registry::device_registry(){
hw::core::register_all(registry);
- #ifdef WITH_DEVICE_LEDGER
-+ #if defined(WITH_DEVICE_LEDGER) && !defined(HIDAPI_DUMMY)
++ #if defined(WITH_DEVICE_LEDGER) || defined(HIDAPI_DUMMY)
hw::ledger::register_all(registry);
#endif
atexit(clear_device_registry);
@@ -102,7 +102,7 @@ index e6cd358..777584c 100644
MERROR(" - " << sm_pair.first);
}
- throw std::runtime_error("device not found: " + device_descriptor);
-+ throw std::runtime_error("device not found: " + device_descriptor + "\nlalala\n" + ss.str());
++ throw std::runtime_error("device not found: " + device_descriptor + "\n" + ss.str());
}
return *device->second;
}
diff --git a/patches/wownero/0008-add-dummy-device-for-ledger.patch b/patches/wownero/0008-add-dummy-device-for-ledger.patch
index 679bce2..3c7a08f 100644
--- a/patches/wownero/0008-add-dummy-device-for-ledger.patch
+++ b/patches/wownero/0008-add-dummy-device-for-ledger.patch
@@ -86,7 +86,7 @@ index e6cd358b6..777584c01 100644
device_registry::device_registry(){
hw::core::register_all(registry);
- #ifdef WITH_DEVICE_LEDGER
-+ #if defined(WITH_DEVICE_LEDGER) && !defined(HIDAPI_DUMMY)
++ #if defined(WITH_DEVICE_LEDGER) || defined(HIDAPI_DUMMY)
hw::ledger::register_all(registry);
#endif
atexit(clear_device_registry);
@@ -102,7 +102,7 @@ index e6cd358b6..777584c01 100644
MERROR(" - " << sm_pair.first);
}
- throw std::runtime_error("device not found: " + device_descriptor);
-+ throw std::runtime_error("device not found: " + device_descriptor + "\nlalala\n" + ss.str());
++ throw std::runtime_error("device not found: " + device_descriptor + "\n" + ss.str());
}
return *device->second;
}