diff options
Diffstat (limited to 'bip-0324.mediawiki')
-rw-r--r-- | bip-0324.mediawiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0324.mediawiki b/bip-0324.mediawiki index 2119a85..941d96e 100644 --- a/bip-0324.mediawiki +++ b/bip-0324.mediawiki @@ -384,7 +384,7 @@ def complete_handshake(peer, initiating, decoy_content_lengths=[]): if received_garbage[-16:] == peer.recv_garbage_terminator: # Receive, decode, and ignore version packet. # This includes skipping decoys and authenticating the received garbage. - v2_receive_packet(peer, aad=received_garbage) + v2_receive_packet(peer, aad=received_garbage[:-16]) return else: received_garbage += recv(peer, 1) |