From c4847502ca4b2ff71c10ceeab8219d61846d0eec Mon Sep 17 00:00:00 2001 From: febo Date: Wed, 15 Jan 2025 01:04:12 +0000 Subject: [PATCH] Clone instead of take --- harness/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/harness/src/lib.rs b/harness/src/lib.rs index 46fdf18a..27fd81b3 100644 --- a/harness/src/lib.rs +++ b/harness/src/lib.rs @@ -234,7 +234,8 @@ impl Mollusk { let resulting_account = transaction_context .get_account_at_index(index) .unwrap() - .take() + .borrow() + .clone() .into(); (*pubkey, resulting_account) })