(blockchain: Arc<Mutex<BlockChain>>, transaction_hash: H256)
| 323 | } |
| 324 | |
| 325 | pub(crate) async fn assert_receipt(blockchain: Arc<Mutex<BlockChain>>, transaction_hash: H256) { |
| 326 | process_transactions(blockchain.clone()).await; |
| 327 | |
| 328 | let receipt = blockchain |
| 329 | .lock() |
| 330 | .await |
| 331 | .transactions |
| 332 | .lock() |
| 333 | .await |
| 334 | .get_transaction_receipt(&transaction_hash) |
| 335 | .unwrap(); |
| 336 | } |
| 337 | |
| 338 | pub(crate) async fn get_balance(blockchain: Arc<Mutex<BlockChain>>, account: &Account) -> U256 { |
| 339 | blockchain |
no test coverage detected