From 34c1127304d88578784ea1ab502892972448a424 Mon Sep 17 00:00:00 2001 From: Niklas Date: Mon, 22 Aug 2022 20:52:45 +0200 Subject: [PATCH] feat: implement `Clone` for `Message` --- snarkos/network/message.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/snarkos/network/message.rs b/snarkos/network/message.rs index ca79382dce..f2fa845ea9 100644 --- a/snarkos/network/message.rs +++ b/snarkos/network/message.rs @@ -20,6 +20,7 @@ use ::bytes::{Buf, BufMut, BytesMut}; use std::marker::PhantomData; use tokio_util::codec::{Decoder, Encoder, LengthDelimitedCodec}; +#[derive(Clone)] pub enum Message { /// Ping with the current block height. Ping,