mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Return 'null' instead of invalid Bitcoin address
This commit is contained in:
parent
866f36ebd4
commit
90cb428d66
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user