From 045aed8d4333fc0bf705262e4212e61ea95490b2 Mon Sep 17 00:00:00 2001 From: Cosmin Damian <17934949+cdamian@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:54:48 +0100 Subject: [PATCH] remarks: Add pool ID to loan variant (#1682) --- runtime/common/src/remarks.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/common/src/remarks.rs b/runtime/common/src/remarks.rs index 1a8a6f5cd7..f72838a52c 100644 --- a/runtime/common/src/remarks.rs +++ b/runtime/common/src/remarks.rs @@ -10,7 +10,7 @@ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -use cfg_primitives::LoanId; +use cfg_primitives::{LoanId, PoolId}; use frame_support::{dispatch::TypeInfo, parameter_types, BoundedVec}; use sp_runtime::codec::{Decode, Encode}; use sp_std::vec; @@ -29,7 +29,7 @@ pub enum Remark { Named(BoundedVec), /// Association with a loan - Loan(LoanId), + Loan(PoolId, LoanId), } impl Default for Remark {