Skip to content

Commit

Permalink
fix: return error msg when pool doesn't exist in cf_subscribe_schedul…
Browse files Browse the repository at this point in the history
…ed_swaps
  • Loading branch information
nmammeri committed Dec 5, 2024
1 parent dc4d649 commit 008ef92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions state-chain/custom-rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1681,6 +1681,7 @@ where
base_asset,
quote_asset,
) else {
pending_sink.reject(call_error("requested pool does not exist")).await;
return;
};

Expand Down

0 comments on commit 008ef92

Please sign in to comment.