aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.cpp
diff options
context:
space:
mode:
authorDusan Klinec <dusan.klinec@gmail.com>2019-04-05 21:47:24 +0200
committerDusan Klinec <dusan.klinec@gmail.com>2019-04-07 13:35:49 +0200
commitc68fe7873bec21d6163b10d9e8f7c8d4d53f5a23 (patch)
tree9e9fd9e3af7e67e764a3d6bd1df5ad833b582a45 /src/wallet/api/wallet.cpp
parentwallet: API changes to enable passphrase entry (diff)
downloadmonero-c68fe7873bec21d6163b10d9e8f7c8d4d53f5a23.tar.xz
device/trezor: add button pressed request
Diffstat (limited to 'src/wallet/api/wallet.cpp')
-rw-r--r--src/wallet/api/wallet.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 2a972cf78..032b873d6 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -249,6 +249,13 @@ struct Wallet2CallbackImpl : public tools::i_wallet2_callback
}
}
+ virtual void on_device_button_pressed()
+ {
+ if (m_listener) {
+ m_listener->onDeviceButtonPressed();
+ }
+ }
+
virtual boost::optional<epee::wipeable_string> on_device_pin_request()
{
if (m_listener) {