This commit is contained in:
Keenan Tims 2025-02-13 18:35:55 -08:00
parent 84860feac4
commit 6dacc3a52f
No known key found for this signature in database
GPG Key ID: B8FDD4AD6B193F06

View File

@ -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