From 450ef84ecaf0eba60a894794362ff460489f2bd4 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 15 Mar 2018 09:06:44 +0800 Subject: [PATCH] use decrypt_payment_id from device class --- src/page.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/page.h b/src/page.h index 36a7258..699dbdd 100644 --- a/src/page.h +++ b/src/page.h @@ -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); }