1
0

fix verify_sig_for_channel_update: use raw message

This commit is contained in:
ThomasV
2019-03-21 13:35:10 +01:00
parent 407114d3cc
commit a6469904ee
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ class Peer(PrintError):
#self.print_error("Received '%s'" % message_type.upper(), payload)
return
# raw message is needed to check signature
if message_type=='node_announcement':
if message_type in ['node_announcement', 'channel_update']:
payload['raw'] = message
execution_result = f(payload)
if asyncio.iscoroutinefunction(f):