Fix signature serialization bug

This commit is contained in:
Paul Hauner 2019-09-14 22:25:53 -04:00
parent 07990e0e92
commit 879f5bfdd0
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -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.