Closed rkalis closed 4 years ago
This turned out to be caused by a bug in stack cleaning at the end of an if-statement block. Due to a wrong for-loop only half of the necessary values are dropped. This will be fixed in the next release.
This has been fixed in https://github.com/Bitcoin-com/cashscript/commit/35a908ea1815688bdb5d75bbfd7ccc7862d017dc.
This was reported by @dagurval on Telegram. There was a bug in the Mecenas contract example, which he pointed out. However, after fixing this, the script failed to execute in meep.