From 43f9ba109614bf516d5ab7c247129a0720c77771 Mon Sep 17 00:00:00 2001 From: Blake Regalia Date: Tue, 27 Feb 2024 17:33:05 -0800 Subject: [PATCH] feat: prepend snip52 prefix to attribute key --- src/contract.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contract.rs b/src/contract.rs index 6bc8201..9989e24 100644 --- a/src/contract.rs +++ b/src/contract.rs @@ -153,7 +153,7 @@ fn try_send( })? ) .add_attribute_plaintext( - id.to_base64(), + format!("snip52:{}", id.to_base64()), encrypted_data.to_base64() ) ) @@ -209,7 +209,7 @@ fn try_react( })? ) .add_attribute_plaintext( - id.to_base64(), + format!("snip52:{}", id.to_base64()), encrypted_data.to_base64() ) )