Skip to content

Commit

Permalink
kiss walletnotify listener
Browse files Browse the repository at this point in the history
  • Loading branch information
adlai committed Jul 27, 2015
1 parent b94553a commit 84970c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/blockchaininterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 84970c7

Please sign in to comment.