From 3c3a924db37548964d57340677f7f865993184b9 Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman <4752801+elizabethengelman@users.noreply.github.com> Date: Fri, 26 Apr 2024 10:46:12 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Willem Wyndham --- cmd/crates/stellar-ledger/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/crates/stellar-ledger/src/lib.rs b/cmd/crates/stellar-ledger/src/lib.rs index 0af551646a..f7a9858515 100644 --- a/cmd/crates/stellar-ledger/src/lib.rs +++ b/cmd/crates/stellar-ledger/src/lib.rs @@ -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,