.owner -> .owner() (#16758)
This commit is contained in:
parent
5591cd6ef3
commit
96d21335e1
|
@ -6963,7 +6963,7 @@ pub mod tests {
|
|||
let some_lamport = 223;
|
||||
let zero_lamport = 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 pubkey = solana_sdk::pubkey::new_rand();
|
||||
|
@ -7042,7 +7042,7 @@ pub mod tests {
|
|||
let some_lamport = 223;
|
||||
let zero_lamport = 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 pubkey = solana_sdk::pubkey::new_rand();
|
||||
|
@ -7102,7 +7102,7 @@ pub mod tests {
|
|||
let some_lamport = 223;
|
||||
let zero_lamport = 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 pubkey = solana_sdk::pubkey::new_rand();
|
||||
|
@ -7160,7 +7160,7 @@ pub mod tests {
|
|||
let zero_lamport = 0;
|
||||
let dummy_lamport = 999;
|
||||
let no_data = 0;
|
||||
let owner = AccountSharedData::default().owner;
|
||||
let owner = *AccountSharedData::default().owner();
|
||||
|
||||
let account = AccountSharedData::new(some_lamport, 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 zero_lamport = 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 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
|
||||
let data_size = 2200;
|
||||
|
||||
let owner = AccountSharedData::default().owner;
|
||||
let owner = *AccountSharedData::default().owner();
|
||||
|
||||
let account = AccountSharedData::new(old_lamport, 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 no_data = 0;
|
||||
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 account2 = AccountSharedData::new(old_lamport + 100_001, no_data, &owner);
|
||||
|
@ -8229,7 +8229,7 @@ pub mod tests {
|
|||
|
||||
let some_lamport = 223;
|
||||
let no_data = 0;
|
||||
let owner = AccountSharedData::default().owner;
|
||||
let owner = *AccountSharedData::default().owner();
|
||||
|
||||
let account = AccountSharedData::new(some_lamport, no_data, &owner);
|
||||
|
||||
|
@ -8297,7 +8297,7 @@ pub mod tests {
|
|||
|
||||
let some_lamport = 223;
|
||||
let no_data = 0;
|
||||
let owner = AccountSharedData::default().owner;
|
||||
let owner = *AccountSharedData::default().owner();
|
||||
|
||||
let account = AccountSharedData::new(some_lamport, no_data, &owner);
|
||||
|
||||
|
@ -8357,7 +8357,7 @@ pub mod tests {
|
|||
|
||||
let some_lamport = 223;
|
||||
let no_data = 0;
|
||||
let owner = AccountSharedData::default().owner;
|
||||
let owner = *AccountSharedData::default().owner();
|
||||
|
||||
let account = AccountSharedData::new(some_lamport, no_data, &owner);
|
||||
|
||||
|
|
Loading…
Reference in New Issue