From c8352ed92f4965fd36d64c36fb8332352cf79e87 Mon Sep 17 00:00:00 2001 From: AAweidai Date: Mon, 25 Jul 2022 14:32:54 +0800 Subject: [PATCH] Fix withdraw of filter asset id --- xpallets/gateway/common/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/xpallets/gateway/common/src/lib.rs b/xpallets/gateway/common/src/lib.rs index 569e965..80dc018 100644 --- a/xpallets/gateway/common/src/lib.rs +++ b/xpallets/gateway/common/src/lib.rs @@ -1381,6 +1381,7 @@ impl Pallet { WithdrawalLimit, ), > = xpallet_gateway_records::Pallet::::pending_withdrawal_set() + .filter(|(_, record)| record.asset_id() == *asset_id) .map(|(id, record)| { ( id,