From 7703daee1afff920420250f7e0f5b5b3796dc68f Mon Sep 17 00:00:00 2001 From: Salikh Osmanov Date: Mon, 8 Sep 2025 12:17:42 +0300 Subject: [PATCH] Fix "slice_compute_data_size?" function signature in stdlib.fc --- crypto/smartcont/stdlib.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/smartcont/stdlib.fc b/crypto/smartcont/stdlib.fc index 8fb27a7ea..59082adf2 100644 --- a/crypto/smartcont/stdlib.fc +++ b/crypto/smartcont/stdlib.fc @@ -197,7 +197,7 @@ int check_data_signature(slice data, slice signature, int public_key) asm "CHKSI (int, int, int, int) compute_data_size?(cell c, int max_cells) asm "CDATASIZEQ NULLSWAPIFNOT2 NULLSWAPIFNOT"; ;;; A non-quiet version of [slice_compute_data_size?] that throws a cell overflow exception (8) on failure. -(int, int, int, int) slice_compute_data_size?(cell c, int max_cells) asm "SDATASIZEQ NULLSWAPIFNOT2 NULLSWAPIFNOT"; +(int, int, int, int) slice_compute_data_size?(slice s, int max_cells) asm "SDATASIZEQ NULLSWAPIFNOT2 NULLSWAPIFNOT"; ;;; Throws an exception with exit_code excno if cond is not 0 (commented since implemented in compilator) ;; () throw_if(int excno, int cond) impure asm "THROWARGIF";