diff options
author | Eugene Siegel <elzeigel@gmail.com> | 2024-07-26 11:46:37 -0400 |
---|---|---|
committer | Eugene Siegel <elzeigel@gmail.com> | 2024-07-26 11:51:52 -0400 |
commit | 0963e43860e2c8e41c0821e2bc442bdd337a0ded (patch) | |
tree | 6373cca254ff04de92b641f5c8f49b4f6c49bd2d /bip-0324.mediawiki | |
parent | 0f40dd7554cabe9bdc8066dda5e18aeda421120f (diff) |
BIP 324: fix python aad in complete_handshake
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) |