Skip to content

Commit

Permalink
[REF] Use correct url from blocksmurfer api
Browse files Browse the repository at this point in the history
  • Loading branch information
mccwdev committed Nov 1, 2021
1 parent 58a0e13 commit a650cb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bitcoinlib/data/providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
"network": "bitcoin",
"client_class": "BlocksmurferClient",
"provider_coin_id": "",
"url": "http://api.blocksmurfer.io/api/v1/btc/",
"url": "https://api.blocksmurfer.io/api/v1/btc/",
"api_key": "",
"priority": 10,
"denominator": 100000000,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def test_service_gettransaction_coinbase(self):
'block_height': 500834,
'coinbase': True,
'date': datetime(2017, 12, 24, 13, 16, 30),
'flag': b'\1',
'flag': 1,
'hash': '68104dbd6819375e7bdf96562f89290b41598df7b002089ecdd3c8d999025b13',
'input_total': 0,
'inputs': [
Expand Down Expand Up @@ -564,7 +564,7 @@ def test_service_gettransaction_coinbase(self):
'status': 'confirmed',
'version': 1
}
srv = ServiceTest(network='bitcoin', min_providers=3, providers=['blocksmurfer'])
srv = ServiceTest(network='bitcoin', min_providers=3)

# Get transactions by hash
srv.gettransaction('68104dbd6819375e7bdf96562f89290b41598df7b002089ecdd3c8d999025b13')
Expand Down

0 comments on commit a650cb4

Please sign in to comment.