From c736b262ca8afe1bf39c01a0e6d867a534312ab9 Mon Sep 17 00:00:00 2001 From: Brice Dobry Date: Fri, 5 Jan 2024 12:35:09 -0500 Subject: [PATCH] fix: set the sender correctly for contract calls (#1300) --- components/clarity-repl/src/repl/interpreter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/clarity-repl/src/repl/interpreter.rs b/components/clarity-repl/src/repl/interpreter.rs index bc12395d4..15ea7c5a0 100644 --- a/components/clarity-repl/src/repl/interpreter.rs +++ b/components/clarity-repl/src/repl/interpreter.rs @@ -824,8 +824,8 @@ impl ClarityInterpreter { g, &called_contract.contract_context, &mut call_stack, - Some(StandardPrincipalData::transient().into()), - Some(StandardPrincipalData::transient().into()), + Some(tx_sender.clone()), + Some(tx_sender), None, ) { Ok(res) => res,