From 4dc4bbb472fcd0a06b563460a3c0de05bd85e23b Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Wed, 17 Apr 2019 22:58:34 +0200 Subject: [PATCH] Update txExecution.js --- remix-lib/src/execution/txExecution.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remix-lib/src/execution/txExecution.js b/remix-lib/src/execution/txExecution.js index 7f9670eaeb..5e20ddc2bc 100644 --- a/remix-lib/src/execution/txExecution.js +++ b/remix-lib/src/execution/txExecution.js @@ -90,7 +90,7 @@ module.exports = { var reason = abiCoder.decode(['string'], returnData.slice(4))[0] msg = `\tThe transaction has been reverted to the initial state.\nReason provided by the contract: "${reason}".` } else { - msg = `\tThe transaction has been reverted to the initial state.\nNote: The constructor should be payable if you send value.` + msg = `\tThe transaction has been reverted to the initial state.\nNote: The constructor should be payable if you send value and the value you send should be less than your current balance.` } ret.error = true } else if (exceptionError === errorCode.STATIC_STATE_CHANGE) {