Skip to content

Commit

Permalink
remove unused prefix on create_orderbook
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpinYukseloglu committed Feb 18, 2024
1 parent de3f4ea commit 7ae8997
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/orderbook/src/orderbook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ pub fn create_orderbook(
// https://github.com/osmosis-labs/orderbook/issues/26

let book_id = new_orderbook_id(deps.storage)?;
let _book = Orderbook::new(book_id, quote_denom, base_denom, 0, MIN_TICK, MAX_TICK);
let book = Orderbook::new(book_id, quote_denom, base_denom, 0, MIN_TICK, MAX_TICK);

ORDERBOOKS.save(deps.storage, &book_id, &_book)?;
ORDERBOOKS.save(deps.storage, &book_id, &book)?;

Ok(Response::new()
.add_attribute("method", "createOrderbook")
Expand Down

0 comments on commit 7ae8997

Please sign in to comment.