diff --git a/state-chain/custom-rpc/src/lib.rs b/state-chain/custom-rpc/src/lib.rs index cbaa763a47..ff216e42f8 100644 --- a/state-chain/custom-rpc/src/lib.rs +++ b/state-chain/custom-rpc/src/lib.rs @@ -1681,6 +1681,7 @@ where base_asset, quote_asset, ) else { + pending_sink.reject(call_error("requested pool does not exist")).await; return; };