Skip to content

Commit

Permalink
fixup! feat(auction): add an auctioneer to manage vault liquidation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Mar 15, 2023
1 parent f5d8a39 commit 8b31141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/inter-protocol/src/auction/auctionBook.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {

const { Fail } = assert;

const DEFAULT_DECIMALS = 9n;
const DEFAULT_DECIMALS = 9;

/**
* @file The book represents the collateral-specific state of an ongoing
Expand Down Expand Up @@ -118,7 +118,7 @@ export const makeAuctionBook = async (
({ decimalPlaces = DEFAULT_DECIMALS }) => {
// TODO(#6946) use this to keep a current price that can be published in state.
const quoteNotifier = E(priceAuthority).makeQuoteNotifier(
AmountMath.make(collateralBrand, 10n ** decimalPlaces),
AmountMath.make(collateralBrand, 10n ** BigInt(decimalPlaces)),
currencyBrand,
);

Expand Down

0 comments on commit 8b31141

Please sign in to comment.