From 879f5bfdd023680be35cb907a890bf2447fd5189 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Sat, 14 Sep 2019 22:25:53 -0400 Subject: [PATCH] Fix signature serialization bug --- eth2/utils/bls/src/signature.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eth2/utils/bls/src/signature.rs b/eth2/utils/bls/src/signature.rs index 7c7f677d7..7a2bc6051 100644 --- a/eth2/utils/bls/src/signature.rs +++ b/eth2/utils/bls/src/signature.rs @@ -1,9 +1,8 @@ use super::{PublicKey, SecretKey, BLS_SIG_BYTE_SIZE}; -use hex::encode as hex_encode; use milagro_bls::Signature as RawSignature; use serde::de::{Deserialize, Deserializer}; use serde::ser::{Serialize, Serializer}; -use serde_hex::HexVisitor; +use serde_hex::{encode as hex_encode, HexVisitor}; use ssz::{ssz_encode, Decode, DecodeError, Encode}; /// A single BLS signature.