-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Don't add MT pubkey in
derive_address_seed
It's not a correct place for it to be applied. The distinction between `derive_address_seed` and `derive_address` should be: - `derive_address_seed` takes provided seeds (defined by the developer) and hashes them together with the program ID. This operation is done only in the third-party program. - `derive_add` takes the address seed (result of `address_address_seed`) and hashes it together with the address Merkle tree public key. This is done both in the third-party program and in light-system-program. light-system-program does that as a check whether the correct Merkle tree is used.
- Loading branch information
1 parent
202d411
commit e9befae
Showing
3 changed files
with
3 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters