Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chiguireitor
addrindexrs
Commits
90cb428d
Unverified
Commit
90cb428d
authored
May 17, 2018
by
Roman Zeyde
Browse files
Return 'null' instead of invalid Bitcoin address
parent
866f36eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/rpc.rs
src/rpc.rs
+1
-1
No files found.
src/rpc.rs
View file @
90cb428d
...
...
@@ -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
>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment