mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Merge #15351: Update linearize-hashes.py
7fdb92e53b Update linearize-hashes.py (OverlordQ) Pull request description: Fix class case issue. Tree-SHA512: 42d26e38b75b6b419ae4a9ca5c110d4ced0f7c5db997a64c8ab5dfc25dc228008349b6423c20ef4e396a773ff31f1f3f0092331c5e89748216e253e4d8337e9a
This commit is contained in:
parent
33384816b5
commit
c4fee672a4
@ -7,7 +7,7 @@
|
||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
#
|
||||
|
||||
from http.client import HttpConnection
|
||||
from http.client import HTTPConnection
|
||||
import json
|
||||
import re
|
||||
import base64
|
||||
@ -27,7 +27,7 @@ class BitcoinRPC:
|
||||
authpair = "%s:%s" % (username, password)
|
||||
authpair = authpair.encode('utf-8')
|
||||
self.authhdr = b"Basic " + base64.b64encode(authpair)
|
||||
self.conn = HttpConnection(host, port=port, timeout=30)
|
||||
self.conn = HTTPConnection(host, port=port, timeout=30)
|
||||
|
||||
def execute(self, obj):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user