From 96e92f1c38b933ad4c3aeeb1d3be4033ea7dc3a1 Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Sun, 15 May 2016 02:34:27 +0300 Subject: [PATCH] add missing attributes --- ethcore/src/types/receipt.rs | 2 +- ethcore/src/types/transaction.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethcore/src/types/receipt.rs b/ethcore/src/types/receipt.rs index b96b34ed4..cc83e2f97 100644 --- a/ethcore/src/types/receipt.rs +++ b/ethcore/src/types/receipt.rs @@ -81,7 +81,7 @@ impl HeapSizeOf for Receipt { } /// Receipt with additional info. -#[derive(Debug, Clone, PartialEq)] +#[derive(Debug, Clone, PartialEq, Binary)] pub struct LocalizedReceipt { /// Transaction hash. pub transaction_hash: H256, diff --git a/ethcore/src/types/transaction.rs b/ethcore/src/types/transaction.rs index 71c77ede9..842decd88 100644 --- a/ethcore/src/types/transaction.rs +++ b/ethcore/src/types/transaction.rs @@ -326,7 +326,7 @@ impl SignedTransaction { } /// Signed Transaction that is a part of canon blockchain. -#[derive(Debug, PartialEq, Eq)] +#[derive(Debug, PartialEq, Eq, Binary)] pub struct LocalizedTransaction { /// Signed part. pub signed: SignedTransaction,