Skip to content

Commit

Permalink
Disable encrypting transactions when sending.
Browse files Browse the repository at this point in the history
  • Loading branch information
murisi committed Jul 3, 2023
1 parent b20c0b2 commit ef71c17
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions shared/src/ledger/signing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef71c17

Please sign in to comment.