removed redundant getSellerParticipantId causing trouble with buyer flow

This commit is contained in:
hueso
2025-07-31 21:04:02 -03:00
parent c3d770f713
commit 0ff940fbb5
2 changed files with 2 additions and 17 deletions

View File

@@ -463,18 +463,3 @@ export const getActiveLockAmount = async (
return total;
}, 0);
};
export const getSellerParticipantId = async (
sellerAddress: Address,
tokenAddress: Address
): Promise<string> => {
const { address, abi, client } = await getContract();
const participantId = await client.readContract({
address,
abi,
functionName: "getPixTarget",
args: [sellerAddress, tokenAddress],
});
return hexToString(participantId);
};