From caf620dd658120e852a7834729a829668ec36f39 Mon Sep 17 00:00:00 2001 From: Sosthene Date: Sun, 13 Oct 2024 01:12:16 +0200 Subject: [PATCH] create_faucet_msg returns only the content not the Envelope --- src/api.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/api.rs b/src/api.rs index a3b65e1..cdeda15 100644 --- a/src/api.rs +++ b/src/api.rs @@ -1429,9 +1429,7 @@ pub fn create_faucet_msg() -> ApiResult { let faucet_msg = FaucetMessage::new(sp_address.clone()); - let network_msg = Envelope::new(AnkFlag::Faucet, &faucet_msg.to_string()); - - Ok(network_msg.to_string()) + Ok(faucet_msg.to_string()) } /// Get active update proposals for a given process outpoint