diff --git a/src/functions/extractContractError.ts b/src/functions/extractContractError.ts index 5f5e8615..95e6ee9a 100644 --- a/src/functions/extractContractError.ts +++ b/src/functions/extractContractError.ts @@ -9,5 +9,5 @@ export function extractContractError(errorMessage: unknown): Error { return new Error(`Contract Error #${match[1]}`); } - return new Error('Unknown contract error'); + return new Error('Unknown contract error with errorMessage: ' + errorMessage); } diff --git a/src/state/routing/types.ts b/src/state/routing/types.ts index 9a5e3cee..0823b9fc 100644 --- a/src/state/routing/types.ts +++ b/src/state/routing/types.ts @@ -236,7 +236,7 @@ export enum TradeType { export enum PlatformType { AGGREGATOR = 'Soroswap Aggregator', - ROUTER = 'Soroswap Router', + ROUTER = 'Soroswap AMM', STELLAR_CLASSIC = 'SDEX', }