Skip to content

Commit

Permalink
Merge pull request JoinMarket-Org#164 from adlai/master
Browse files Browse the repository at this point in the history
kiss walletnotify listener
  • Loading branch information
chris-belcher committed Jul 27, 2015
2 parents 04a8448 + 027f3e1 commit fe52cde
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 @@ -270,11 +270,11 @@ 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__(self, request, client_address, base_server)
BaseHTTPServer.BaseHTTPRequestHandler.__init__(self, request, client_address, base_server)

def do_HEAD(self):
pages = ('/walletnotify?', '/alertnotify?')
Expand Down

0 comments on commit fe52cde

Please sign in to comment.