Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
1 change: 1 addition & 0 deletions src/hooks/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down