From 6f33e922ae9cff6e57c3c449df49db5aa41c35d4 Mon Sep 17 00:00:00 2001 From: Siddharth Suresh Date: Fri, 28 Apr 2023 12:32:25 -0500 Subject: [PATCH] Fix event name (#778) --- soroban-env-host/src/native_contract/token/event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soroban-env-host/src/native_contract/token/event.rs b/soroban-env-host/src/native_contract/token/event.rs index ae984a071..6cd6c9b95 100644 --- a/soroban-env-host/src/native_contract/token/event.rs +++ b/soroban-env-host/src/native_contract/token/event.rs @@ -82,7 +82,7 @@ pub(crate) fn set_authorized( authorize: bool, ) -> Result<(), HostError> { let mut topics = Vec::new(e)?; - topics.push(&Symbol::try_from_val(e, &"set_auth")?)?; + topics.push(&Symbol::try_from_val(e, &"set_authorized")?)?; topics.push(&admin)?; topics.push(&id)?; topics.push(&read_name(&e)?)?;