From fa5983e9d33b9490650e8de3f46d3eb15cf9ba97 Mon Sep 17 00:00:00 2001 From: Pierre-Emmanuel Wulfman Date: Sat, 7 Mar 2020 02:54:57 +0100 Subject: [PATCH] fix contrat religo --- src/test/contracts/recursion.religo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/contracts/recursion.religo b/src/test/contracts/recursion.religo index c75be3497..71f016962 100644 --- a/src/test/contracts/recursion.religo +++ b/src/test/contracts/recursion.religo @@ -1,5 +1,5 @@ // Test while loops in PascaLIGO -let rec fibo = (n : int, acc: int): int => +let rec fibo = ((n, acc) : (int,int)): int => if (n < 1) {acc;} - else {fibo (n-1,acc+n);}; + else {fibo ((n-1,acc+n));};