Skip to content

Commit

Permalink
chore: print sol tx as hex
Browse files Browse the repository at this point in the history
  • Loading branch information
dandanlen committed Dec 10, 2024
1 parent 0c7eb99 commit 48193e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion engine/src/sol/retry_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,11 @@ impl SolRetryRpcApi for SolRetryRpcClient {
.request_with_limit(
RequestLog::new(
"sendTransaction".to_string(),
Some(format!("{:?}, {:?}", transaction.serialized_transaction, config)),
Some(format!(
"0x{}, {:?}",
hex::encode(&transaction.serialized_transaction),
config
)),
),
Box::pin(move |client| {
let encoded_transaction = encoded_transaction.clone();
Expand Down

0 comments on commit 48193e6

Please sign in to comment.