Skip to content

Commit edc809a

Browse files
Fix create_collection arity declaration
1 parent b9a1b02 commit edc809a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rholang/src/rust/interpreter/rho_runtime.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,8 +822,8 @@ fn std_rho_chroma_processes() -> Vec<Definition> {
822822
urn: "rho:chroma:collection:new".to_string(),
823823
fixed_channel: FixedChannels::chroma_create_collection(),
824824
// TODO (chase): How to define overloads?
825-
// This function can support 3 or 2 arguments (last one is optional).
826-
arity: 3,
825+
// This function can support 4 or 3 arguments (including ack) (second to last one is optional).
826+
arity: 4,
827827
body_ref: BodyRefs::CHROMA_CREATE_COLLECTION,
828828
handler: Box::new(|ctx| {
829829
Box::new(move |args| {

0 commit comments

Comments
 (0)