No clone needed.
This commit is contained in:
parent
9d212da0ba
commit
c4f0056856
|
@ -16,7 +16,7 @@ fn main() {
|
||||||
|
|
||||||
let address = SocketAddr::new(IpAddr::V4(Ipv4Addr::new(130, 149, 80, 221)), 8333);
|
let address = SocketAddr::new(IpAddr::V4(Ipv4Addr::new(130, 149, 80, 221)), 8333);
|
||||||
|
|
||||||
let version_message = build_version_message(address.clone());
|
let version_message = build_version_message(address);
|
||||||
|
|
||||||
let first_message = message::RawNetworkMessage {
|
let first_message = message::RawNetworkMessage {
|
||||||
magic: constants::Network::Bitcoin.magic(),
|
magic: constants::Network::Bitcoin.magic(),
|
||||||
|
|
Loading…
Reference in New Issue