Hello Team,
I am trying to concatenate multiple values as shown below.
let packed_string : string = String.concat(Address.to_str(sender),Address.to_str(receiver),Int.to_str(input_amount),Bytes.to_str(hash_lock),Int.to_str(expiration))
I am getting the exception: [type_error: Cannot unify (string, string) => string and (string, string, string, string, string) => string]
Is it that String.Concat only takes a finite amount of variable as input or am I missing out on something here?
Thanks for the help in advance.