Skip to content

Commit

Permalink
fix wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
tutulino committed Mar 24, 2018
1 parent 4da12fa commit 047c886
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Pools/blazepool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if ($Querymode -eq "wallet") {


try {
$http="http://api.blazepool.com/wallet?address="+$Info.user
$http="http://api.blazepool.com/wallet/"+$Info.user
$Request = Invoke-WebRequest $http -UserAgent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36" -UseBasicParsing -timeoutsec 10 | ConvertFrom-Json
}
catch {}
Expand All @@ -76,9 +76,9 @@ if ($Querymode -eq "wallet") {

if ($Querymode -eq "speed") {

<#
try {
$http="http://api.blazepool.com/wallet/"+$Info.user
$http="http:/api.blazepool.com/walletEx?address="+$Info.user
$Request = Invoke-WebRequest -UserAgent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36" $http -UseBasicParsing -timeoutsec 5 | ConvertFrom-Json
}
catch {}
Expand All @@ -99,7 +99,7 @@ if ($Querymode -eq "speed") {
}
remove-variable Request
}

#>

}

Expand Down

0 comments on commit 047c886

Please sign in to comment.