(blockchain: Arc<Mutex<BlockChain>>)
| 314 | } |
| 315 | |
| 316 | pub(crate) async fn process_transactions(blockchain: Arc<Mutex<BlockChain>>) { |
| 317 | blockchain |
| 318 | .lock() |
| 319 | .await |
| 320 | .process_transactions() |
| 321 | .await |
| 322 | .unwrap(); |
| 323 | } |
| 324 | |
| 325 | pub(crate) async fn assert_receipt(blockchain: Arc<Mutex<BlockChain>>, transaction_hash: H256) { |
| 326 | process_transactions(blockchain.clone()).await; |
no test coverage detected