Skip to content

Commit

Permalink
Revert unintentional touch
Browse files Browse the repository at this point in the history
  • Loading branch information
jayz22 committed Jul 12, 2023
1 parent 7ea77bf commit 268890f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions soroban-env-host/src/host/num.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ macro_rules! impl_wrapping_obj_from_num {
&self,
_vmcaller: &mut VmCaller<Host>,
u: $num,
) -> Result<<$hot as HostObjectType>::Wrapper, Self::Error> {
) -> Result<<$hot as HostObjectType>::Wrapper, HostError> {
self.add_host_object(<$hot>::from(u))
}
};
Expand All @@ -18,7 +18,7 @@ macro_rules! impl_wrapping_obj_to_num {
&self,
_vmcaller: &mut VmCaller<Host>,
obj: <$data as HostObjectType>::Wrapper,
) -> Result<$num, Self::Error> {
) -> Result<$num, HostError> {
self.visit_obj(obj, |t: &$data| Ok(t.clone().into()))
}
};
Expand Down

0 comments on commit 268890f

Please sign in to comment.