Fix return data too large test

This commit is contained in:
Sean Young
2021-09-30 07:35:09 +01:00
parent 65de0f40b8
commit 66e6110f5a
3 changed files with 10 additions and 0 deletions

View File

@@ -644,6 +644,9 @@ fn process_instruction(
// make sure the total balance is fine
**accounts[0].lamports.borrow_mut() += 1;
}
TEST_RETURN_DATA_TOO_LARGE => {
set_return_data(&[1u8; 1028]);
}
_ => panic!(),
}