From e508112ddb87a2de3c9bd78bfdb4fe8771b09123 Mon Sep 17 00:00:00 2001 From: Qiwei Yang Date: Fri, 18 Oct 2024 08:49:27 +0800 Subject: [PATCH] fix --- Utils/Sources/Utils/Crypto/BLS.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utils/Sources/Utils/Crypto/BLS.swift b/Utils/Sources/Utils/Crypto/BLS.swift index 893636d7..9e10d5d3 100644 --- a/Utils/Sources/Utils/Crypto/BLS.swift +++ b/Utils/Sources/Utils/Crypto/BLS.swift @@ -49,7 +49,7 @@ public enum BLS: KeyType { throw .keypairSignFailed(err) } - return Data(output) + return output } } @@ -195,7 +195,7 @@ public enum BLS: KeyType { } } } onErr: { err throws(Error) in - throw .aggregatedVerifyFailed(err) + logger.debug("aggregateVerify failed: \(err)") } return output