Unverified Commit 4dc4bbb4 authored by Liana Husikyan's avatar Liana Husikyan Committed by GitHub

Update txExecution.js

parent 034cfde8
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment