|
|
@ -153,7 +153,7 @@ public class CrossChainTradeBotResource { |
|
|
|
|
|
|
|
|
|
|
|
return Base58.encode(unsignedBytes); |
|
|
|
return Base58.encode(unsignedBytes); |
|
|
|
} catch (DataException e) { |
|
|
|
} catch (DataException e) { |
|
|
|
throw ApiExceptionFactory.INSTANCE.createException(request, ApiError.REPOSITORY_ISSUE, e); |
|
|
|
throw ApiExceptionFactory.INSTANCE.createCustomException(request, ApiError.REPOSITORY_ISSUE, e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -237,7 +237,7 @@ public class CrossChainTradeBotResource { |
|
|
|
return "false"; |
|
|
|
return "false"; |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (DataException e) { |
|
|
|
} catch (DataException e) { |
|
|
|
throw ApiExceptionFactory.INSTANCE.createException(request, ApiError.REPOSITORY_ISSUE, e); |
|
|
|
throw ApiExceptionFactory.INSTANCE.createCustomException(request, ApiError.REPOSITORY_ISSUE, e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|