Skip to content

Commit

Permalink
refactor: base64::encode args manually since it is not encoded on nea…
Browse files Browse the repository at this point in the history
…rcore side anymore (#306)
  • Loading branch information
khorolets authored Sep 13, 2022
1 parent d653947 commit a7a33a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/serializers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ pub(crate) fn extract_action_type_and_value_from_action_view(
} => {
let mut arguments = json!({
"method_name": method_name.escape_default().to_string(),
"args_base64": args,
"args_base64": base64::encode(&args),
"gas": gas,
"deposit": deposit.to_string(),
});
Expand Down

0 comments on commit a7a33a6

Please sign in to comment.