.owner -> .owner() (#16758)

This commit is contained in:
Jeff Washington (jwash) 2021-04-23 09:35:55 -05:00 committed by GitHub
parent 5591cd6ef3
commit 96d21335e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -6963,7 +6963,7 @@ pub mod tests {
let some_lamport = 223; let some_lamport = 223;
let zero_lamport = 0; let zero_lamport = 0;
let no_data = 0; let no_data = 0;
let owner = AccountSharedData::default().owner; let owner = *AccountSharedData::default().owner();
let account = AccountSharedData::new(some_lamport, no_data, &owner); let account = AccountSharedData::new(some_lamport, no_data, &owner);
let pubkey = solana_sdk::pubkey::new_rand(); let pubkey = solana_sdk::pubkey::new_rand();
@ -7042,7 +7042,7 @@ pub mod tests {
let some_lamport = 223; let some_lamport = 223;
let zero_lamport = 0; let zero_lamport = 0;
let no_data = 0; let no_data = 0;
let owner = AccountSharedData::default().owner; let owner = *AccountSharedData::default().owner();
let account = AccountSharedData::new(some_lamport, no_data, &owner); let account = AccountSharedData::new(some_lamport, no_data, &owner);
let pubkey = solana_sdk::pubkey::new_rand(); let pubkey = solana_sdk::pubkey::new_rand();
@ -7102,7 +7102,7 @@ pub mod tests {
let some_lamport = 223; let some_lamport = 223;
let zero_lamport = 0; let zero_lamport = 0;
let no_data = 0; let no_data = 0;
let owner = AccountSharedData::default().owner; let owner = *AccountSharedData::default().owner();
let account = AccountSharedData::new(some_lamport, no_data, &owner); let account = AccountSharedData::new(some_lamport, no_data, &owner);
let pubkey = solana_sdk::pubkey::new_rand(); let pubkey = solana_sdk::pubkey::new_rand();
@ -7160,7 +7160,7 @@ pub mod tests {
let zero_lamport = 0; let zero_lamport = 0;
let dummy_lamport = 999; let dummy_lamport = 999;
let no_data = 0; let no_data = 0;
let owner = AccountSharedData::default().owner; let owner = *AccountSharedData::default().owner();
let account = AccountSharedData::new(some_lamport, no_data, &owner); let account = AccountSharedData::new(some_lamport, no_data, &owner);
let account2 = AccountSharedData::new(some_lamport + 100_001, no_data, &owner); let account2 = AccountSharedData::new(some_lamport + 100_001, no_data, &owner);
@ -7835,7 +7835,7 @@ pub mod tests {
let old_lamport = 223; let old_lamport = 223;
let zero_lamport = 0; let zero_lamport = 0;
let no_data = 0; let no_data = 0;
let owner = AccountSharedData::default().owner; let owner = *AccountSharedData::default().owner();
let account = AccountSharedData::new(old_lamport, no_data, &owner); let account = AccountSharedData::new(old_lamport, no_data, &owner);
let account2 = AccountSharedData::new(old_lamport + 100_001, no_data, &owner); let account2 = AccountSharedData::new(old_lamport + 100_001, no_data, &owner);
@ -7902,7 +7902,7 @@ pub mod tests {
// size data so only 1 fits in a 4k store // size data so only 1 fits in a 4k store
let data_size = 2200; let data_size = 2200;
let owner = AccountSharedData::default().owner; let owner = *AccountSharedData::default().owner();
let account = AccountSharedData::new(old_lamport, data_size, &owner); let account = AccountSharedData::new(old_lamport, data_size, &owner);
let account2 = AccountSharedData::new(old_lamport + 100_001, data_size, &owner); let account2 = AccountSharedData::new(old_lamport + 100_001, data_size, &owner);
@ -8026,7 +8026,7 @@ pub mod tests {
let zero_lamport = 0; let zero_lamport = 0;
let no_data = 0; let no_data = 0;
let dummy_lamport = 999_999; let dummy_lamport = 999_999;
let owner = AccountSharedData::default().owner; let owner = *AccountSharedData::default().owner();
let account = AccountSharedData::new(old_lamport, no_data, &owner); let account = AccountSharedData::new(old_lamport, no_data, &owner);
let account2 = AccountSharedData::new(old_lamport + 100_001, no_data, &owner); let account2 = AccountSharedData::new(old_lamport + 100_001, no_data, &owner);
@ -8229,7 +8229,7 @@ pub mod tests {
let some_lamport = 223; let some_lamport = 223;
let no_data = 0; let no_data = 0;
let owner = AccountSharedData::default().owner; let owner = *AccountSharedData::default().owner();
let account = AccountSharedData::new(some_lamport, no_data, &owner); let account = AccountSharedData::new(some_lamport, no_data, &owner);
@ -8297,7 +8297,7 @@ pub mod tests {
let some_lamport = 223; let some_lamport = 223;
let no_data = 0; let no_data = 0;
let owner = AccountSharedData::default().owner; let owner = *AccountSharedData::default().owner();
let account = AccountSharedData::new(some_lamport, no_data, &owner); let account = AccountSharedData::new(some_lamport, no_data, &owner);
@ -8357,7 +8357,7 @@ pub mod tests {
let some_lamport = 223; let some_lamport = 223;
let no_data = 0; let no_data = 0;
let owner = AccountSharedData::default().owner; let owner = *AccountSharedData::default().owner();
let account = AccountSharedData::new(some_lamport, no_data, &owner); let account = AccountSharedData::new(some_lamport, no_data, &owner);