Skip to content

Commit

Permalink
Update server
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbochok committed Jan 14, 2022
1 parent 18cd155 commit 6bcce50
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions core/lib/types/src/aggregated_operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,17 @@ impl BlocksExecuteOperation {
}

pub fn get_eth_tx_args(&self) -> Vec<Token> {
vec![Token::Array(
self.blocks
.iter()
.map(BlocksExecuteOperation::get_eth_tx_args_for_block)
.collect(),
)]
// make withdrawal in execute operation until the server and frontend are not updated
let complete_withdrawals = Token::Bool(true);
vec![
Token::Array(
self.blocks
.iter()
.map(BlocksExecuteOperation::get_eth_tx_args_for_block)
.collect(),
),
complete_withdrawals,
]
}

pub fn block_range(&self) -> (BlockNumber, BlockNumber) {
Expand Down

0 comments on commit 6bcce50

Please sign in to comment.