added trailin ,
This commit is contained in:
parent
8f4c2d98ba
commit
2be4f2f737
@ -57,7 +57,7 @@ pub struct CacheSize {
|
||||
|
||||
struct BloomIndexer {
|
||||
index_size: usize,
|
||||
levels: u8
|
||||
levels: u8,
|
||||
}
|
||||
|
||||
impl BloomIndexer {
|
||||
@ -236,7 +236,7 @@ pub struct BlockChain {
|
||||
cache_man: RwLock<CacheManager>,
|
||||
|
||||
// blooms indexing
|
||||
bloom_indexer: BloomIndexer
|
||||
bloom_indexer: BloomIndexer,
|
||||
}
|
||||
|
||||
impl FilterDataSource for BlockChain {
|
||||
|
@ -314,7 +314,7 @@ impl Encodable for TransactionAddress {
|
||||
/// Contains all block receipts.
|
||||
#[derive(Clone)]
|
||||
pub struct BlockReceipts {
|
||||
pub receipts: Vec<Receipt>
|
||||
pub receipts: Vec<Receipt>,
|
||||
}
|
||||
|
||||
impl BlockReceipts {
|
||||
|
@ -90,7 +90,7 @@ pub struct LocalizedLogEntry {
|
||||
/// Index of transaction within block.
|
||||
pub transaction_index: usize,
|
||||
/// Log position in the block.
|
||||
pub log_index: usize
|
||||
pub log_index: usize,
|
||||
}
|
||||
|
||||
impl Deref for LocalizedLogEntry {
|
||||
|
@ -33,7 +33,7 @@ pub struct Log {
|
||||
#[serde(rename="transactionIndex")]
|
||||
transaction_index: U256,
|
||||
#[serde(rename="logIndex")]
|
||||
log_index: U256
|
||||
log_index: U256,
|
||||
}
|
||||
|
||||
impl From<LocalizedLogEntry> for Log {
|
||||
|
Loading…
Reference in New Issue
Block a user