Skip to content

Commit

Permalink
feat(diri): update currency_chain_id format
Browse files Browse the repository at this point in the history
  • Loading branch information
ybensacq committed Oct 2, 2024
1 parent 4af1fa4 commit 4d23436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/diri/src/storage/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl From<OrderPlaced> for PlacedData {
cancelled_order_hash: to_hex_str_opt(&value.cancelled_order_hash),
route: format!("{:?}", value.order.route),
currency_address: to_hex_str(&FieldElement::from(value.order.currency_address)),
currency_chain_id: to_hex_str(&value.order.currency_chain_id),
currency_chain_id: format!("0x{:x}", value.order.currency_chain_id),
salt: to_hex_str(&value.order.salt),
offerer: to_hex_str(&FieldElement::from(value.order.offerer)),
token_chain_id: format!("0x{:x}", value.order.token_chain_id),
Expand Down

0 comments on commit 4d23436

Please sign in to comment.