impl Copy for RlpAccount

This commit is contained in:
Artem Vorotnikov
2022-07-13 23:46:03 +03:00
parent 72cfc82223
commit f0a2b19ed0

View File

@@ -15,7 +15,7 @@ pub struct Account {
pub code_hash: H256, // hash of the bytecode
}
#[derive(Debug, RlpEncodable, RlpDecodable, RlpMaxEncodedLen)]
#[derive(Clone, Copy, Debug, RlpEncodable, RlpDecodable, RlpMaxEncodedLen)]
pub struct RlpAccount {
pub nonce: u64,
pub balance: U256,