Skip to content

Commit

Permalink
fix: remove consensus breaking change in transaction input (#3474)
Browse files Browse the repository at this point in the history
Description
---

Remove consensus breaking change from #3411

Motivation and Context
---
Breaks consensus on weatherwax

How Has This Been Tested?
---
Synced base node
  • Loading branch information
sdbondi committed Oct 19, 2021
1 parent 5bef3fd commit d1b3523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_layer/core/src/transactions/transaction.rs
Expand Up @@ -596,7 +596,7 @@ impl TransactionInput {
impl Hashable for TransactionInput {
fn hash(&self) -> Vec<u8> {
HashDigest::new()
.chain(self.features.to_consensus_bytes())
.chain(self.features.to_v1_bytes())
.chain(self.commitment.as_bytes())
.chain(self.script.as_bytes())
.chain(self.sender_offset_public_key.as_bytes())
Expand Down

0 comments on commit d1b3523

Please sign in to comment.