enforce proper range for rent burn_percent (#7217)

* enforce proper range for burn_percent
This commit is contained in:
Parth
2019-12-04 00:54:01 +05:30
committed by GitHub
parent d5c8b26a45
commit ba688cf629
5 changed files with 28 additions and 4 deletions

View File

@ -1394,7 +1394,7 @@ mod tests {
&Rent {
lamports_per_byte_year: 42,
..Rent::default()
}
},
),
Err(InstructionError::InsufficientFunds)
);