diff --git a/scripts/src/public/services/orders.ts b/scripts/src/public/services/orders.ts index 7840e127..4d30ceda 100644 --- a/scripts/src/public/services/orders.ts +++ b/scripts/src/public/services/orders.ts @@ -201,13 +201,6 @@ async function createP2PExternalOrder(sender: User, senderDeviceId: string, jwt: throw UserHasNoWallet(recipient.id); } - // check wallet version matches - if (await WalletApplication.getBlockchainVersion(senderWallet.address) !== - await WalletApplication.getBlockchainVersion(recipientWallet.address)) { - logger().warn("failed p2p creation due to blockchain version mismatch"); - throw UserHasNoWallet(recipient.id); - } - const order = db.ExternalOrder.new({ offerId: jwt.offer.id, amount: jwt.offer.amount, diff --git a/scripts/src/public/services/orders.v1.ts b/scripts/src/public/services/orders.v1.ts index 78de3b93..28f30d40 100644 --- a/scripts/src/public/services/orders.v1.ts +++ b/scripts/src/public/services/orders.v1.ts @@ -173,12 +173,6 @@ async function createP2PExternalOrder(sender: User, jwt: ExternalPayToUserOrderJ if (!recipientWallet) { throw UserHasNoWallet(recipient.id); } - // check wallet version matches - if (await WalletApplication.getBlockchainVersion(senderWallet.address) !== - await WalletApplication.getBlockchainVersion(recipientWallet.address)) { - logger().warn("failed p2p creation due to blockchain version mismatch on v1"); - throw UserHasNoWallet(recipient.id); - } const order = db.ExternalOrder.new({ offerId: jwt.offer.id,