Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Willem Wyndham <[email protected]>
  • Loading branch information
elizabethengelman and willemneal authored Apr 26, 2024
1 parent 8f1a7ca commit 3c3a924
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/crates/stellar-ledger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ where
let tagged_transaction =
TransactionSignaturePayloadTaggedTransaction::Tx(transaction.clone());

let passphrase = self.network_passphrase.clone();
let network_hash = Hash(Sha256::digest(passphrase.as_bytes()).into());
let network_hash = self.network_hash();

let signature_payload = TransactionSignaturePayload {
network_id: network_hash,
Expand Down

0 comments on commit 3c3a924

Please sign in to comment.