Skip to content

Commit 470771e

Browse files
Support invoke script Array type argument
1 parent c5920d8 commit 470771e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "waves-rust"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
edition = "2021"
55
rust-version = "1.56"
66
authors = ["Waves Labs <[email protected]>", "Alexandr Devyatkin <[email protected]>"]

src/model/transaction/invoke_script_transaction.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ fn map_args(value: &Value) -> Result<Vec<Arg>> {
228228
"binary" | "ByteVector" => Arg::Binary(Base64String::from_string(
229229
&JsonDeserializer::safe_to_string_from_field(&arg, "value")?,
230230
)?),
231-
"list" | "List" => {
231+
"list" | "List" | "Array" => {
232232
let result = map_args(&arg["value"])?;
233233
Arg::List(result)
234234
}

0 commit comments

Comments
 (0)