From 2c85baa634050444a3cd6833a7be58860f2a04bf Mon Sep 17 00:00:00 2001 From: dr-frmr Date: Thu, 21 Dec 2023 15:14:11 -0500 Subject: [PATCH] do the one 0x --- modules/qns_indexer/qns_indexer/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/qns_indexer/qns_indexer/src/lib.rs b/modules/qns_indexer/qns_indexer/src/lib.rs index e24c3819..57e53952 100644 --- a/modules/qns_indexer/qns_indexer/src/lib.rs +++ b/modules/qns_indexer/qns_indexer/src/lib.rs @@ -298,7 +298,7 @@ fn main(our: Address, mut state: State) -> anyhow::Result<()> { let routers_raw = decoded.0; node.routers = routers_raw .iter() - .map(|r| hex::encode(r)) + .map(|r| format!("0x{}", hex::encode(r))) .collect::>(); send = true; }