Skip to content

Commit e76f07b

Browse files
committed
fix: Add auth on handle_error
1 parent 231a239 commit e76f07b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contracts/soroban/contracts/xcall/src/handle_message.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ pub fn handle_reply(
160160
}
161161

162162
pub fn handle_error(env: &Env, sender: Address, sequence_no: u128) -> Result<(), ContractError> {
163+
sender.require_auth();
163164
let cs_message_result = CSMessageResult::new(
164165
sequence_no,
165166
CSResponseType::CSResponseFailure,

0 commit comments

Comments
 (0)