owner() lifetime issue (#16875)
This commit is contained in:
parent
8f56c116d7
commit
2f5102587c
|
@ -2449,7 +2449,7 @@ fn main() {
|
|||
rewarded_accounts.sort_unstable_by_key(
|
||||
|(pubkey, account, base_lamports)| {
|
||||
(
|
||||
account.owner(),
|
||||
*account.owner(),
|
||||
*base_lamports,
|
||||
account.lamports - base_lamports,
|
||||
*pubkey,
|
||||
|
|
Loading…
Reference in New Issue