From 5c4c046e1197f9f28bc947726a23ce62d6026723 Mon Sep 17 00:00:00 2001
From: librelois <elois@ifee.fr>
Date: Fri, 30 Mar 2018 17:34:37 +0200
Subject: [PATCH] [fix] #27

---
 Cargo.lock                                        | 2 +-
 documents/Cargo.toml                              | 2 +-
 documents/blockchain/v10/documents/transaction.rs | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 9648b789..8fd4d608 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -94,7 +94,7 @@ dependencies = [
 
 [[package]]
 name = "duniter-documents"
-version = "0.5.0"
+version = "0.6.0"
 dependencies = [
  "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "base64 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/documents/Cargo.toml b/documents/Cargo.toml
index 2a42d7fd..7200f0b6 100644
--- a/documents/Cargo.toml
+++ b/documents/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "duniter-documents"
-version = "0.5.0"
+version = "0.6.0"
 authors = ["nanocryk <nanocryk@duniter.org>", "elois <elois@ifee.fr>"]
 description = "Handles Duniter documents"
 repository = "https://git.duniter.org/nodes/rust/duniter-rs"
diff --git a/documents/blockchain/v10/documents/transaction.rs b/documents/blockchain/v10/documents/transaction.rs
index e44ce2e3..f71372d9 100644
--- a/documents/blockchain/v10/documents/transaction.rs
+++ b/documents/blockchain/v10/documents/transaction.rs
@@ -435,7 +435,7 @@ impl TextDocument for TransactionDocument {
 
 impl IntoSpecializedDocument<BlockchainProtocol> for TransactionDocument {
     fn into_specialized(self) -> BlockchainProtocol {
-        BlockchainProtocol::V10(V10Document::Transaction(Box::new(self)))
+        BlockchainProtocol::V10(Box::new(V10Document::Transaction(Box::new(self))))
     }
 }
 
-- 
GitLab