You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If It has 3 transactions, call get_transactions fail with Natural subtraction underflow.
you can test it if set a length less than start (by search inside transactions).
Feel free to submit a pull request so it can be quickly resolved.
I'll add more extensive tests for the get_transactions() fn later to prevent future errors.
If It has 3 transactions, call get_transactions fail with Natural subtraction underflow.
you can test it if set a length less than start (by search inside transactions).
the bug cause by this line.
icrc1/src/ICRC1/lib.mo
Line 352 in 2ede9a6
function SB.sclice accept argument (buffer, start, end)
icrc1/src/ICRC1/Utils.mo
Line 261 in 2ede9a6
but the code call it , SB.slice(transactions, tx_start_index, req.length).
it should fix to
could you fix this? or may I pull a request.
The text was updated successfully, but these errors were encountered: