mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
use decrypt_payment_id from device class
This commit is contained in:
parent
4f15c6164d
commit
450ef84eca
1 changed files with 2 additions and 2 deletions
|
@ -1813,7 +1813,7 @@ namespace xmreg
|
|||
|
||||
if (decrypted_payment_id8 != null_hash8)
|
||||
{
|
||||
if (decrypt_payment_id(decrypted_payment_id8, pub_key, prv_view_key))
|
||||
if (mcore->get_device()->decrypt_payment_id(decrypted_payment_id8, pub_key, prv_view_key))
|
||||
{
|
||||
context["decrypted_payment_id8"] = pod_to_hex(decrypted_payment_id8);
|
||||
}
|
||||
|
@ -5272,7 +5272,7 @@ namespace xmreg
|
|||
|
||||
if (decrypted_payment_id8 != null_hash8)
|
||||
{
|
||||
if (decrypt_payment_id(decrypted_payment_id8, txd.pk, prv_view_key))
|
||||
if (mcore->get_device()->decrypt_payment_id(decrypted_payment_id8, txd.pk, prv_view_key))
|
||||
{
|
||||
payment_id = pod_to_hex(decrypted_payment_id8);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue