From ca8ab52ad784412f5cbed0d206451f7778bcf9cc Mon Sep 17 00:00:00 2001 From: cwbhhjl Date: Tue, 9 May 2023 22:35:50 +0800 Subject: [PATCH] update --- src/subcommand/server/api.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/subcommand/server/api.rs b/src/subcommand/server/api.rs index 2781b197b0..f6c40aad2f 100644 --- a/src/subcommand/server/api.rs +++ b/src/subcommand/server/api.rs @@ -317,7 +317,7 @@ pub(crate) async fn brc20_all_tick_info( if !inscription.is_none() { let inscription = inscription.unwrap(); json_tick.inscription_number = Some(inscription.number.to_string()); - result.tokens.push(json_tick) + result.tokens.push(json_tick); } } @@ -434,7 +434,7 @@ pub(crate) async fn brc20_tx_events( let inscription = inscription.unwrap(); json_event.set_inscription_number(Some(inscription.number.to_string())); } - result.events.push(json_event) + result.events.push(json_event); } Json(ApiResponse::ok(result)) } @@ -484,7 +484,7 @@ pub(crate) async fn brc20_block_events( let inscription = inscription.unwrap(); json_event.set_inscription_number(Some(inscription.number.to_string())); } - tx_events.events.push(json_event) + tx_events.events.push(json_event); } result.block.push(tx_events); }