Merge pull request #926 from GeneFerneau/core
[rust-lightning] / lightning / src / util / ser.rs
index c31fcaa1ff6de28eb450f770182414145cda1909..66c89aa83913177bf6b31c9d5abb90c94c022884 100644 (file)
@@ -12,9 +12,9 @@
 
 use std::io::{Read, Write};
 use std::collections::HashMap;
-use std::hash::Hash;
+use core::hash::Hash;
 use std::sync::Mutex;
-use std::cmp;
+use core::cmp;
 
 use bitcoin::secp256k1::Signature;
 use bitcoin::secp256k1::key::{PublicKey, SecretKey};
@@ -25,7 +25,7 @@ use bitcoin::consensus;
 use bitcoin::consensus::Encodable;
 use bitcoin::hashes::sha256d::Hash as Sha256dHash;
 use bitcoin::hash_types::{Txid, BlockHash};
-use std::marker::Sized;
+use core::marker::Sized;
 use ln::msgs::DecodeError;
 use ln::{PaymentPreimage, PaymentHash, PaymentSecret};
 use util::byte_utils;