diff --git a/test/functional/p2p_v2_misbehaving.py b/test/functional/p2p_v2_misbehaving.py index ee589010cdd..32fe2833bc0 100755 --- a/test/functional/p2p_v2_misbehaving.py +++ b/test/functional/p2p_v2_misbehaving.py @@ -161,8 +161,8 @@ class EncryptedP2PMisbehaving(BitcoinTestFramework): node0 = self.nodes[0] expected_debug_message = [ [], # EARLY_KEY_RESPONSE - ["V2 transport error: missing garbage terminator, peer=1"], # EXCESS_GARBAGE - ["V2 handshake timeout, disconnecting peer=3"], # WRONG_GARBAGE_TERMINATOR + ["V2 transport error: missing garbage terminator"], # EXCESS_GARBAGE + ["V2 handshake timeout, disconnecting peer"], # WRONG_GARBAGE_TERMINATOR ["V2 transport error: packet decryption failure"], # WRONG_GARBAGE ["V2 transport error: packet decryption failure"], # SEND_NO_AAD [], # SEND_NON_EMPTY_VERSION_PACKET