create_faucet_msg returns only the content not the Envelope

This commit is contained in:
Sosthene 2024-10-13 01:12:16 +02:00
parent 43b4c5f4d2
commit caf620dd65

View File

@ -1429,9 +1429,7 @@ pub fn create_faucet_msg() -> ApiResult<String> {
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