1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00

Return 'null' instead of invalid Bitcoin address

This commit is contained in:
Roman Zeyde 2018-05-17 11:09:28 +03:00
parent 866f36ebd4
commit 90cb428d66
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

View File

@ -99,7 +99,7 @@ impl<'a> Handler<'a> {
}
fn server_donation_address(&self) -> Result<Value> {
Ok(json!("No, thanks :)\n"))
Ok(Value::Null)
}
fn server_peers_subscribe(&self) -> Result<Value> {