AccountSharedData.set_executable() (#16881)
This commit is contained in:
committed by
GitHub
parent
2021255f91
commit
a7a671b3aa
@@ -570,7 +570,7 @@ pub mod tests {
|
||||
use super::*;
|
||||
use assert_matches::assert_matches;
|
||||
use rand::{thread_rng, Rng};
|
||||
use solana_sdk::timing::duration_as_ms;
|
||||
use solana_sdk::{account::WritableAccount, timing::duration_as_ms};
|
||||
use std::time::Instant;
|
||||
|
||||
impl AppendVec {
|
||||
@@ -856,7 +856,7 @@ pub mod tests {
|
||||
av.append_account_test(&create_test_account(10)).unwrap();
|
||||
{
|
||||
let mut executable_account = create_test_account(10);
|
||||
executable_account.1.executable = true;
|
||||
executable_account.1.set_executable(true);
|
||||
av.append_account_test(&executable_account).unwrap();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user