From 6a4278c67e9f4f7faf5f0a44527c5bfe436b6e9f Mon Sep 17 00:00:00 2001 From: antiochp <30642645+antiochp@users.noreply.github.com> Date: Wed, 5 Dec 2018 12:10:12 +0000 Subject: [PATCH] fix --- core/src/core/compact_block.rs | 2 +- core/src/core/transaction.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/core/compact_block.rs b/core/src/core/compact_block.rs index fc695f706..4691b45c3 100644 --- a/core/src/core/compact_block.rs +++ b/core/src/core/compact_block.rs @@ -20,7 +20,7 @@ use core::block::{Block, BlockHeader, Error}; use core::hash::Hashed; use core::id::ShortIdentifiable; use core::{KernelFeatures, Output, OutputFeatures, ShortId, TxKernel}; -use ser::{self, read_multi, Readable, Reader, VerifySortOrder, Writeable, Writer}; +use ser::{self, read_multi, Readable, Reader, VerifySortedAndUnique, Writeable, Writer}; /// Container for full (full) outputs and kernels and kern_ids for a compact block. #[derive(Debug, Clone)] diff --git a/core/src/core/transaction.rs b/core/src/core/transaction.rs index c20b22c7e..ea3ca81d7 100644 --- a/core/src/core/transaction.rs +++ b/core/src/core/transaction.rs @@ -29,7 +29,8 @@ use core::verifier_cache::VerifierCache; use core::{committed, Committed}; use keychain::{self, BlindingFactor}; use ser::{ - self, read_multi, FixedLength, PMMRable, Readable, Reader, VerifySortOrder, Writeable, Writer, + self, read_multi, FixedLength, PMMRable, Readable, Reader, VerifySortedAndUnique, Writeable, + Writer, }; use util; use util::secp;