diff --git a/legacy-contracts/farm-v13-custom-rewards/src/lib.rs b/legacy-contracts/farm-v13-custom-rewards/src/lib.rs index c1217bb56..71cf8cf0d 100644 --- a/legacy-contracts/farm-v13-custom-rewards/src/lib.rs +++ b/legacy-contracts/farm-v13-custom-rewards/src/lib.rs @@ -200,7 +200,7 @@ pub trait FarmV13CustomRewards { _token_display_name: ManagedBuffer, _token_ticker: ManagedBuffer, _num_decimals: usize, - ) -> SCResult> { + ) -> INCORRECTReturnType { sc_panic!("This is a no-code version of a legacy contract. The logic of the endpoints has not been implemented."); } @@ -222,7 +222,7 @@ pub trait FarmV13CustomRewards { } #[endpoint(setLocalRolesFarmToken)] - fn set_local_roles_farm_token(&self) -> SCResult> { + fn set_local_roles_farm_token(&self) -> INCORRECTReturnType { sc_panic!("This is a no-code version of a legacy contract. The logic of the endpoints has not been implemented."); }