diff --git a/lib/blockchaininterface.py b/lib/blockchaininterface.py index d5dc5c20..1b453f5f 100644 --- a/lib/blockchaininterface.py +++ b/lib/blockchaininterface.py @@ -2,7 +2,7 @@ import subprocess import unittest import json, threading, abc, pprint, time, random, sys, os, re -import BaseHTTPServer, SimpleHTTPServer, urllib +import BaseHTTPServer, urllib from decimal import Decimal import bitcoin as btc @@ -299,12 +299,12 @@ def query_utxo_set(self, txout): return result -class NotifyRequestHeader(SimpleHTTPServer.SimpleHTTPRequestHandler): +class NotifyRequestHeader(BaseHTTPServer.BaseHTTPRequestHandler): def __init__(self, request, client_address, base_server): self.btcinterface = base_server.btcinterface self.base_server = base_server - SimpleHTTPServer.SimpleHTTPRequestHandler.__init__( + BaseHTTPServer.BaseHTTPRequestHandler.__init__( self, request, client_address, base_server) def do_HEAD(self):