From e87637c062c55f7fc92d6c2e8d62e11c827f8cca Mon Sep 17 00:00:00 2001 From: Collin Brittain Date: Fri, 1 Sep 2023 15:32:48 -0500 Subject: [PATCH] Fix oracle validation arg order --- steward/src/cellars.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steward/src/cellars.rs b/steward/src/cellars.rs index 6c5e3131..1688fdb0 100644 --- a/steward/src/cellars.rs +++ b/steward/src/cellars.rs @@ -189,8 +189,8 @@ pub fn validate_new_position( pub fn validate_oracle( cellar_id: &str, - registry_id_in: &str, oracle_in: &str, + registry_id_in: &str, ) -> Result<(), Error> { let cellar_id_normalized = normalize_address(cellar_id.to_string()); let oracle_in = normalize_address(oracle_in.to_string());