add to the transaction mempool
(&mut self, transaction: Transaction)
| 21 | |
| 22 | // add to the transaction mempool |
| 23 | pub(crate) fn send_transaction(&mut self, transaction: Transaction) { |
| 24 | self.mempool.push_back(transaction); |
| 25 | } |
| 26 | |
| 27 | // get the receipt of the transaction |
| 28 | pub(crate) fn get_transaction_receipt(&self, hash: &H256) -> Result<TransactionReceipt> { |
no outgoing calls
no test coverage detected