diff --git a/Phantasma.Business/src/Blockchain/Contracts/Native/ExchangeContract.cs b/Phantasma.Business/src/Blockchain/Contracts/Native/ExchangeContract.cs index 8aaa2529..58605cc3 100644 --- a/Phantasma.Business/src/Blockchain/Contracts/Native/ExchangeContract.cs +++ b/Phantasma.Business/src/Blockchain/Contracts/Native/ExchangeContract.cs @@ -117,9 +117,9 @@ private void ValidateExchangeParameters(string id, string name, BigInteger total public void CreateExchange(Address from, string id, string name, BigInteger totalFee, BigInteger feePercentForExchange, BigInteger feePercentForPool) { - if (Runtime.ProtocolVersion >= 15) + if (Runtime.ProtocolVersion >= 16) { - Runtime.Expect(false, "exchange not supported on this protocol version"); + Runtime.Expect(false, "This method is not available in this version of the DEX"); return; } @@ -152,9 +152,9 @@ public void CreateExchange(Address from, string id, string name, BigInteger tota public void EditExchange(Address from, string id, string name, BigInteger totalFee, BigInteger feePercentForExchange, BigInteger feePercentForPool) { - if (Runtime.ProtocolVersion >= 15) + if (Runtime.ProtocolVersion >= 16) { - Runtime.Expect(false, "exchange not supported on this protocol version"); + Runtime.Expect(false, "This method is not available in this version of the DEX"); return; }