File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
apollo_starknet_os_program/src/cairo/starkware/starknet/core/aggregator Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ func main{
52
52
local public_keys: felt *;
53
53
local n_public_keys: felt ;
54
54
%{
55
- public_keys = program_input.get( " public_keys" , [])
55
+ public_keys = program_input[ " public_keys" ] if program_input[ " public_keys " ] is not None else []
56
56
ids.public_keys = segments.gen_arg(public_keys)
57
57
ids.n_public_keys = len (public_keys)
58
58
%}
Original file line number Diff line number Diff line change @@ -1933,9 +1933,9 @@ if da_path is not None:
1933
1933
GetPublicKeysFromAggregatorInput ,
1934
1934
get_public_keys_from_aggregator_input,
1935
1935
indoc! { r#"
1936
- public_keys = program_input.get( "public_keys", [])
1937
- ids.public_keys = segments.gen_arg(public_keys)
1938
- ids.n_public_keys = len(public_keys)"#
1936
+ public_keys = program_input[ "public_keys"] if program_input["public_keys"] is not None else []
1937
+ ids.public_keys = segments.gen_arg(public_keys)
1938
+ ids.n_public_keys = len(public_keys)"#
1939
1939
1940
1940
}
1941
1941
) ,
You can’t perform that action at this time.
0 commit comments