Force program address off the curve (#11323) (#11398)

(cherry picked from commit 03263c850a)

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2020-08-06 01:00:42 +00:00
committed by GitHub
parent 888f3522d8
commit 5c27009758
14 changed files with 240 additions and 45 deletions

View File

@@ -155,6 +155,10 @@ pub enum InstructionError {
/// Length of the seed is too long for address generation
#[error("Length of the seed is too long for address generation")]
MaxSeedLengthExceeded,
/// Provided seeds do not result in a valid address
#[error("Provided seeds do not result in a valid address")]
InvalidSeeds,
}
impl InstructionError {