Skip to content

Commit

Permalink
Update bitcoin_address.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeTrade authored May 14, 2018
1 parent 105a77a commit 3c401e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/bitcoin_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def request_balance url
end

def update_balance
res = request_balance("http://hodl.amit.systems:1781/ext/getbalance/#{self.bitcoin_address}")
res = request_balance("http://hodl.amit.systems:81/ext/getbalance/#{self.bitcoin_address}")
logger.info("request_balance: #{res}")
if res!=false
if ( (new_balance=res.to_i) >= 0) and (new_balance != self.balance)
Expand Down

0 comments on commit 3c401e2

Please sign in to comment.