From 2f5102587c41cb8426816aa6bec2bf621315f4f8 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" <75863576+jeffwashington@users.noreply.github.com> Date: Tue, 27 Apr 2021 12:57:47 -0500 Subject: [PATCH] owner() lifetime issue (#16875) --- ledger-tool/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledger-tool/src/main.rs b/ledger-tool/src/main.rs index 3c06b8ddcc..78077638a2 100644 --- a/ledger-tool/src/main.rs +++ b/ledger-tool/src/main.rs @@ -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,