From 7810f504b978c2ebadf6c22a14aa5a4593dcf68c Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Fri, 2 Aug 2024 11:32:48 +1200 Subject: [PATCH] fix --- lib/stable-asset/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/stable-asset/src/lib.rs b/lib/stable-asset/src/lib.rs index e5e3541..287ed09 100644 --- a/lib/stable-asset/src/lib.rs +++ b/lib/stable-asset/src/lib.rs @@ -2050,7 +2050,8 @@ impl StableAsset for Pallet { T::AccountId, BlockNumberFor, >, - ) -> Option>> { + ) -> Option>> + { Self::get_collect_yield_amount(pool_info).ok() }