Skip to content

Commit

Permalink
FMT
Browse files Browse the repository at this point in the history
  • Loading branch information
gupnik committed Jan 3, 2025
1 parent ae2627c commit 14d0c97
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rust/chains/tw_aptos/src/transaction_payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,7 @@ fn parse_argument(val: &str, abi_str: &str) -> EncodingResult<TransactionArgumen
})
}

fn parse_vector_argument(
val_str: &str,
layout: MoveType,
) -> EncodingResult<TransactionArgument> {
fn parse_vector_argument(val_str: &str, layout: MoveType) -> EncodingResult<TransactionArgument> {
let val = serde_json::to_value(val_str).map_err(|_| EncodingError::InvalidInput)?;
if matches!(layout, MoveType::U8) {
Ok(TransactionArgument::U8Vector(
Expand Down

0 comments on commit 14d0c97

Please sign in to comment.