clippies
This commit is contained in:
parent
84860feac4
commit
6dacc3a52f
@ -1,7 +1,5 @@
|
|||||||
use clap;
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket};
|
use std::net::{IpAddr, UdpSocket};
|
||||||
use std::ops::Index;
|
|
||||||
|
|
||||||
use crc32fast::hash;
|
use crc32fast::hash;
|
||||||
use log::warn;
|
use log::warn;
|
||||||
@ -74,7 +72,7 @@ impl TxId {
|
|||||||
|
|
||||||
let fp = fingerprint(&buf);
|
let fp = fingerprint(&buf);
|
||||||
buf.extend(ATTR_NUM_FINGERPRINT.to_be_bytes());
|
buf.extend(ATTR_NUM_FINGERPRINT.to_be_bytes());
|
||||||
buf.extend((4 as u16).to_be_bytes());
|
buf.extend(4_u16.to_be_bytes());
|
||||||
buf.extend(&fp.to_be_bytes());
|
buf.extend(&fp.to_be_bytes());
|
||||||
|
|
||||||
buf
|
buf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user