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 Apr 11, 2018
1 parent 677d7b5 commit 09a5999
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 @@ -9,7 +9,7 @@ def request_balance url
logger.info("request_balance: #{url}")
response=Net::HTTP.get(URI.parse(url))
logger.info("response: #{response}")
rem=response.gsub('\\.', '')
rem=response.gsub(/\W/, '')
logger.info("removed: #{rem}")

(Integer(rem) rescue false)
Expand Down

0 comments on commit 09a5999

Please sign in to comment.