Skip to content

Commit 38b50df

Browse files
author
Ludo Galabru
committed
feat: fix download block
1 parent 389f77d commit 38b50df

File tree

1 file changed

+0
-4
lines changed
  • components/hord-cli/src/db

1 file changed

+0
-4
lines changed

components/hord-cli/src/db/mod.rs

-4
Original file line numberDiff line numberDiff line change
@@ -2145,10 +2145,6 @@ pub async fn download_block(
21452145
"method": "getblock",
21462146
"params": [block_hash, 3]
21472147
});
2148-
let http_client = HttpClient::builder()
2149-
.timeout(Duration::from_secs(20))
2150-
.build()
2151-
.expect("Unable to build http client");
21522148
let block = http_client
21532149
.post(&bitcoin_config.rpc_url)
21542150
.basic_auth(&bitcoin_config.username, Some(&bitcoin_config.password))

0 commit comments

Comments
 (0)