diff --git a/examples/interest2/src/main.leo b/examples/interest2/src/main.leo index 76073db133..d4fbdcb857 100644 --- a/examples/interest2/src/main.leo +++ b/examples/interest2/src/main.leo @@ -1,6 +1,6 @@ // The 'interest2' main function. function main(capital: u32, public rate: u32, periods: u8) -> u32 { - console.assert(periods < 50u8); + console.assert(periods <= 50u8); let amount: u32 = capital; for i:u8 in 0u8..50u8 { // accrue for max 50 periods if i < periods {