From 7a863e218f54c8cf0deb26fa44ef7f4eedb6aec2 Mon Sep 17 00:00:00 2001 From: Dino Pacandi Date: Mon, 29 Apr 2024 16:37:58 +0200 Subject: [PATCH] Keep mock price same as before --- pallets/dapp-staking-v3/src/test/mock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/dapp-staking-v3/src/test/mock.rs b/pallets/dapp-staking-v3/src/test/mock.rs index bda410e3d..4806204ab 100644 --- a/pallets/dapp-staking-v3/src/test/mock.rs +++ b/pallets/dapp-staking-v3/src/test/mock.rs @@ -115,7 +115,7 @@ impl PriceProvider for DummyPriceProvider { thread_local! { pub(crate) static DOES_PAYOUT_SUCCEED: RefCell = RefCell::new(false); pub(crate) static BLOCK_BEFORE_NEW_ERA: RefCell = RefCell::new(0); - pub(crate) static NATIVE_PRICE: RefCell = RefCell::new(FixedU128::from_rational(1, 100)); + pub(crate) static NATIVE_PRICE: RefCell = RefCell::new(FixedU128::from_rational(1, 10)); } pub struct DummyStakingRewardHandler;