From 268890f0bbe89feb5ff7f50de2be1254bb5989d8 Mon Sep 17 00:00:00 2001 From: Jay Geng Date: Wed, 12 Jul 2023 00:29:35 -0400 Subject: [PATCH] Revert unintentional touch --- soroban-env-host/src/host/num.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/soroban-env-host/src/host/num.rs b/soroban-env-host/src/host/num.rs index e54415e72..d483805d9 100644 --- a/soroban-env-host/src/host/num.rs +++ b/soroban-env-host/src/host/num.rs @@ -5,7 +5,7 @@ macro_rules! impl_wrapping_obj_from_num { &self, _vmcaller: &mut VmCaller, u: $num, - ) -> Result<<$hot as HostObjectType>::Wrapper, Self::Error> { + ) -> Result<<$hot as HostObjectType>::Wrapper, HostError> { self.add_host_object(<$hot>::from(u)) } }; @@ -18,7 +18,7 @@ macro_rules! impl_wrapping_obj_to_num { &self, _vmcaller: &mut VmCaller, obj: <$data as HostObjectType>::Wrapper, - ) -> Result<$num, Self::Error> { + ) -> Result<$num, HostError> { self.visit_obj(obj, |t: &$data| Ok(t.clone().into())) } };