diff --git a/contracts/consumer/band-price-feed/src/contract.rs b/contracts/consumer/band-price-feed/src/contract.rs index 61a355a1..dcdecb42 100644 --- a/contracts/consumer/band-price-feed/src/contract.rs +++ b/contracts/consumer/band-price-feed/src/contract.rs @@ -92,16 +92,6 @@ impl RemotePriceFeedContract { Ok(Response::new()) } - #[sv::msg(query)] - pub fn get_price(&self, ctx: QueryCtx) -> Result { - Ok(self - .price_keeper - .price(ctx.deps, &ctx.env) - .map(|rate| PriceResponse { - native_per_foreign: rate, - })?) - } - #[sv::msg(exec)] pub fn request(&self, ctx: ExecCtx) -> Result { let ExecCtx { deps, env, info: _ } = ctx;