put limit on account data length (#7320)

* put limit on account data length

* proper debug message
This commit is contained in:
Parth
2019-12-10 22:17:11 +05:30
committed by GitHub
parent 6d2861f358
commit 696cb298ab
2 changed files with 48 additions and 2 deletions

View File

@ -10,6 +10,7 @@ pub enum SystemError {
ResultWithNegativeLamports,
InvalidProgramId,
InvalidAccountId,
InvalidAccountDataLength,
}
impl<T> DecodeError<T> for SystemError {