diff --git a/Cargo.lock b/Cargo.lock index 898b395..5464deb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1703,7 +1703,7 @@ checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f" [[package]] name = "waves-rust" -version = "0.2.4" +version = "0.2.6" dependencies = [ "base64", "blake2", diff --git a/Cargo.toml b/Cargo.toml index 17e849d..74d537c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "waves-rust" -version = "0.2.5" +version = "0.2.6" edition = "2021" rust-version = "1.56" authors = ["Waves Labs ", "Alexandr Devyatkin "] diff --git a/src/model/transaction/invoke_script_transaction.rs b/src/model/transaction/invoke_script_transaction.rs index 9dfed85..4a1fbac 100644 --- a/src/model/transaction/invoke_script_transaction.rs +++ b/src/model/transaction/invoke_script_transaction.rs @@ -228,7 +228,7 @@ fn map_args(value: &Value) -> Result> { "binary" | "ByteVector" => Arg::Binary(Base64String::from_string( &JsonDeserializer::safe_to_string_from_field(&arg, "value")?, )?), - "list" | "List" => { + "list" | "List" | "Array" => { let result = map_args(&arg["value"])?; Arg::List(result) }