Skip to content

Commit

Permalink
Keep mock price same as before
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed Apr 29, 2024
1 parent f37a415 commit 7a863e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/dapp-staking-v3/src/test/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl PriceProvider for DummyPriceProvider {
thread_local! {
pub(crate) static DOES_PAYOUT_SUCCEED: RefCell<bool> = RefCell::new(false);
pub(crate) static BLOCK_BEFORE_NEW_ERA: RefCell<EraNumber> = RefCell::new(0);
pub(crate) static NATIVE_PRICE: RefCell<FixedU128> = RefCell::new(FixedU128::from_rational(1, 100));
pub(crate) static NATIVE_PRICE: RefCell<FixedU128> = RefCell::new(FixedU128::from_rational(1, 10));
}

pub struct DummyStakingRewardHandler;
Expand Down

0 comments on commit 7a863e2

Please sign in to comment.