Remove `Sized` requirement from ConsensusEncodable

This commit is contained in:
Andrew Poelstra 2015-09-20 15:34:13 -05:00
parent 14db7ee902
commit c67608a435
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ use util::hash::Sha256dHash;
use network::serialize::{SimpleDecoder, SimpleEncoder};
/// Data which can be encoded in a consensus-consistent way
pub trait ConsensusEncodable<S: SimpleEncoder> : Sized {
pub trait ConsensusEncodable<S: SimpleEncoder> {
/// Encode an object with a well-defined format
fn consensus_encode(&self, e: &mut S) -> Result<(), S::Error>;
}