Skip to content

Commit

Permalink
Backend: fix potential parens ambiguity
Browse files Browse the repository at this point in the history
ElectrumServer.fs had ambiguous parens around the parameters of a function call.
The positioning of the parens has been changed according to the style guide.
If we didn't apply the parens like in this commit, fantomas would cause a
compilation error when trying to format our codebase using our style settings.
(See fsprojects/fantomas#853 for more info.)
  • Loading branch information
Bobface committed May 21, 2020
1 parent efd73dd commit 0ed5c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GWallet.Backend/UtxoCoin/ElectrumServer.fs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module ElectrumServerSeedList =
let url = SPrintF1 "https://1209k.com/bitcoin-eye/ele.php?chain=%s" currencyMnemonic
let web = HtmlWeb()
let doc = web.Load url
let firstTable = doc.DocumentNode.SelectNodes("//table").[0]
let firstTable = (doc.DocumentNode.SelectNodes "//table").[0]
let tableBody = firstTable.SelectSingleNode "tbody"
let servers = tableBody.SelectNodes "tr"
seq {
Expand Down

0 comments on commit 0ed5c79

Please sign in to comment.