Skip to content

Commit

Permalink
darkside GetLightdInfo: return fake build info
Browse files Browse the repository at this point in the history
Instead of returning empty strings for `ZcashdBuild` and
`ZcashdSubversion`, return fixed "darksidewallet" strings.
  • Loading branch information
Larry Ruane authored and LarryRuane committed Sep 4, 2023
1 parent 7971992 commit 853016b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion common/darkside.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,10 @@ func darksideRawRequest(method string, params []json.RawMessage) (json.RawMessag
return json.Marshal(blockchaininfo)

case "getinfo":
info := &ZcashdRpcReplyGetinfo{}
info := &ZcashdRpcReplyGetinfo{
Build: "darksidewallet-build",
Subversion: "darksidewallet-subversion",
}
return json.Marshal(info)

case "getblock":
Expand Down

0 comments on commit 853016b

Please sign in to comment.