From c7593bff976a11da618722d8141d514ddf03bb7b Mon Sep 17 00:00:00 2001 From: NIC619 Date: Mon, 16 Sep 2019 19:11:46 +0800 Subject: [PATCH] Add `InconsistentNonce` in secio --- libp2p/security/secio/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libp2p/security/secio/exceptions.py b/libp2p/security/secio/exceptions.py index 892f63d..c03fda4 100644 --- a/libp2p/security/secio/exceptions.py +++ b/libp2p/security/secio/exceptions.py @@ -24,3 +24,7 @@ class InvalidSignatureOnExchange(SecioException): class IncompatibleChoices(SecioException): pass + + +class InconsistentNonce(SecioException): + pass