aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_default.hpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-05-20 21:43:09 +0000
committerSarang Noether <32460187+SarangNoether@users.noreply.github.com>2020-08-28 19:25:17 -0400
commit743608ec16e27a3c1ca2febd4e80391a32c23efd (patch)
treed8b4f65cc302f765f7fd97aca7ef6189065307e3 /src/device/device_default.hpp
parent5946002105bf37193db241597909588fab411db9 (diff)
downloadmonzero-core-743608ec16e27a3c1ca2febd4e80391a32c23efd.tar.gz
monzero-core-743608ec16e27a3c1ca2febd4e80391a32c23efd.tar.xz
monzero-core-743608ec16e27a3c1ca2febd4e80391a32c23efd.zip
wallet: allow signing a message with spend or view key
Diffstat (limited to 'src/device/device_default.hpp')
-rw-r--r--src/device/device_default.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/device_default.hpp b/src/device/device_default.hpp
index 2493bd67d..e49a75b1c 100644
--- a/src/device/device_default.hpp
+++ b/src/device/device_default.hpp
@@ -85,6 +85,7 @@ namespace hw {
std::vector<crypto::public_key> get_subaddress_spend_public_keys(const cryptonote::account_keys &keys, uint32_t account, uint32_t begin, uint32_t end) override;
cryptonote::account_public_address get_subaddress(const cryptonote::account_keys& keys, const cryptonote::subaddress_index &index) override;
crypto::secret_key get_subaddress_secret_key(const crypto::secret_key &sec, const cryptonote::subaddress_index &index) override;
+ crypto::secret_key get_subaddress_view_secret_key(const crypto::secret_key &sec, const cryptonote::subaddress_index &index) override;
/* ======================================================================= */
/* DERIVATION & KEY */