CashScript / cashscript

⚖️ Easily write and interact with Bitcoin Cash smart contracts
https://cashscript.org
MIT License
112 stars 79 forks source link

Compilation error on forgetting signature check for covenant function throws wrong line #107

Closed mr-zwets closed 2 years ago

mr-zwets commented 2 years ago

When I forgot a signature check for the covenant of the 2nd spending condition, cashc threw "Covenant variable tx.bytecode was used without un-nested signature check at Line 16, Column 73" when that function did have a signature check.