diff --git a/src/components/common/overall-layout/mobile-wrappers/wallet-data-loader-wrapper.tsx b/src/components/common/overall-layout/mobile-wrappers/wallet-data-loader-wrapper.tsx index a4f58bf3..c16cb1d8 100644 --- a/src/components/common/overall-layout/mobile-wrappers/wallet-data-loader-wrapper.tsx +++ b/src/components/common/overall-layout/mobile-wrappers/wallet-data-loader-wrapper.tsx @@ -152,7 +152,7 @@ export default function WalletDataLoaderWrapper({ function dRepIds() { // Use multisig wallet DRep ID if available, otherwise fallback to appWallet - const dRepId = multisigWallet?.getDRepId() || appWallet?.dRepId; + const dRepId = multisigWallet?.getKeysByRole(3) ? multisigWallet?.getDRepId() : appWallet?.dRepId; if (!dRepId) return null; return getDRepIds(dRepId); } diff --git a/src/hooks/common.ts b/src/hooks/common.ts index 9622e91b..f377d42a 100644 --- a/src/hooks/common.ts +++ b/src/hooks/common.ts @@ -90,6 +90,7 @@ export function buildWallet( } //depricated -> only payment-script left in for compatibility + //uses unordered keys for payment script //Remove later when refactoring const nativeScript = { type: wallet.type ? wallet.type : "atLeast",