From 4d234368dbdf8958800b0fe64c4ef1f967d3b00f Mon Sep 17 00:00:00 2001 From: Yannick Bensacq Date: Wed, 2 Oct 2024 10:44:32 +0200 Subject: [PATCH] feat(diri): update currency_chain_id format --- crates/diri/src/storage/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/diri/src/storage/types.rs b/crates/diri/src/storage/types.rs index 030591954..fdf60a8ae 100644 --- a/crates/diri/src/storage/types.rs +++ b/crates/diri/src/storage/types.rs @@ -40,7 +40,7 @@ impl From 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),