code cleanup, defunct code removal, and some module splitting
This commit is contained in:
parent
b09dae276c
commit
944c76d2e9
10 changed files with 114 additions and 243 deletions
|
@ -41,7 +41,7 @@ def _processForwardKey(api, myBlock):
|
|||
else:
|
||||
raise onionrexceptions.InvalidPubkey("%s is nota valid pubkey key" % (key,))
|
||||
|
||||
def on_processblocks(api):
|
||||
def on_processblocks(api, data=None):
|
||||
# Generally fired by utils.
|
||||
myBlock = api.data['block']
|
||||
blockType = api.data['type']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue