From 3c401e2dbea48042cc8fe7e92206ad88043b8724 Mon Sep 17 00:00:00 2001 From: FreeTrade Date: Mon, 14 May 2018 13:06:36 +0800 Subject: [PATCH] Update bitcoin_address.rb --- app/models/bitcoin_address.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/bitcoin_address.rb b/app/models/bitcoin_address.rb index 0058d8d..dbccc37 100644 --- a/app/models/bitcoin_address.rb +++ b/app/models/bitcoin_address.rb @@ -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)