File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -895,7 +895,7 @@ std::string WalletImpl::integratedAddress(const std::string &payment_id) const
895
895
896
896
std::string WalletImpl::secretViewKey () const
897
897
{
898
- return epee::string_tools::pod_to_hex (m_wallet->get_account ().get_keys ().m_view_secret_key );
898
+ return epee::string_tools::pod_to_hex (rct::sk2rct ( m_wallet->get_account ().get_keys ().m_view_secret_key ) );
899
899
}
900
900
901
901
std::string WalletImpl::publicViewKey () const
@@ -905,7 +905,7 @@ std::string WalletImpl::publicViewKey() const
905
905
906
906
std::string WalletImpl::secretSpendKey () const
907
907
{
908
- return epee::string_tools::pod_to_hex (m_wallet->get_account ().get_keys ().m_spend_secret_key );
908
+ return epee::string_tools::pod_to_hex (rct::sk2rct ( m_wallet->get_account ().get_keys ().m_spend_secret_key ) );
909
909
}
910
910
911
911
std::string WalletImpl::publicSpendKey () const
@@ -1999,9 +1999,9 @@ std::string WalletImpl::getTxKey(const std::string &txid_str) const
1999
1999
{
2000
2000
clearStatus ();
2001
2001
std::ostringstream oss;
2002
- oss << epee::string_tools::pod_to_hex (tx_key);
2002
+ oss << epee::string_tools::pod_to_hex (rct::sk2rct ( tx_key) );
2003
2003
for (size_t i = 0 ; i < additional_tx_keys.size (); ++i)
2004
- oss << epee::string_tools::pod_to_hex (additional_tx_keys[i]);
2004
+ oss << epee::string_tools::pod_to_hex (rct::sk2rct ( additional_tx_keys[i]) );
2005
2005
return oss.str ();
2006
2006
}
2007
2007
else
You can’t perform that action at this time.
0 commit comments