mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 20:59:23 +00:00
Add Clone/Debug derivations to structs
This commit is contained in:
@@ -3,6 +3,7 @@ use crate::{
|
||||
transaction::Transaction
|
||||
};
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct BlockHeader {
|
||||
pub major_version: u64,
|
||||
pub minor_version: u64,
|
||||
@@ -33,6 +34,7 @@ impl BlockHeader {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Block {
|
||||
pub header: BlockHeader,
|
||||
pub miner_tx: Transaction,
|
||||
|
||||
Reference in New Issue
Block a user