Skip to content

Commit

Permalink
reverted merge
Browse files Browse the repository at this point in the history
changed DSH label for stealth addresses to `com.tari.stealth_address`

Signed-off-by: Andrei Gubarev <[email protected]>
  • Loading branch information
agubarev committed Jul 19, 2022
1 parent 1a65870 commit 31715a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_layer/wallet/src/output_manager_service/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1935,7 +1935,7 @@ where

// computing shared secret
let c = RistrettoSecretKey::from_bytes(
DomainSeparatedHasher::<Blake256, GenericHashDomain>::new("stealth address")
DomainSeparatedHasher::<Blake256, GenericHashDomain>::new("com.tari.stealth_address")
.chain(PublicKey::shared_secret(&secret_key, nonce.as_ref()).as_bytes())
.finalize()
.as_ref(),
Expand Down

0 comments on commit 31715a0

Please sign in to comment.