From ef71c17ab9afa21851c416d27905d6b7650f2488 Mon Sep 17 00:00:00 2001 From: Murisi Tarusenga Date: Sun, 2 Jul 2023 08:17:49 +0200 Subject: [PATCH] Disable encrypting transactions when sending. --- shared/src/ledger/signing.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/shared/src/ledger/signing.rs b/shared/src/ledger/signing.rs index c9f399edd32..503827aedeb 100644 --- a/shared/src/ledger/signing.rs +++ b/shared/src/ledger/signing.rs @@ -349,8 +349,6 @@ pub async fn sign_wrapper< // Remove all the sensitive sections tx.protocol_filter(); - // Encrypt all sections not relating to the header - tx.encrypt(&Default::default()); // Then sign over the bound wrapper committing to all other sections tx.add_section(Section::Signature(Signature::new(tx.sechashes(), keypair))); // We use this to determine when the wrapper tx makes it on-chain