create_faucet_msg returns only the content not the Envelope
This commit is contained in:
parent
43b4c5f4d2
commit
caf620dd65
@ -1429,9 +1429,7 @@ pub fn create_faucet_msg() -> ApiResult<String> {
|
|||||||
|
|
||||||
let faucet_msg = FaucetMessage::new(sp_address.clone());
|
let faucet_msg = FaucetMessage::new(sp_address.clone());
|
||||||
|
|
||||||
let network_msg = Envelope::new(AnkFlag::Faucet, &faucet_msg.to_string());
|
Ok(faucet_msg.to_string())
|
||||||
|
|
||||||
Ok(network_msg.to_string())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get active update proposals for a given process outpoint
|
/// Get active update proposals for a given process outpoint
|
||||||
|
Loading…
x
Reference in New Issue
Block a user