better check for transactions with count
@@ -140,8 +140,7 @@ func ParseArgumentsWithoutType(fileName string, code []byte, args []string) (scr
}
transactionDeclaration := program.TransactionDeclarations()
- fmt.Println(transactionDeclaration)
- if transactionDeclaration != nil {
+ if len(transactionDeclaration) == 1 {
if transactionDeclaration[0].ParameterList != nil {
parameterList = transactionDeclaration[0].ParameterList.Parameters
}
