(blockchain: Blockchain)
| 42 | |
| 43 | impl Server { |
| 44 | pub fn new(blockchain: Blockchain) -> Server { |
| 45 | Server { blockchain } |
| 46 | } |
| 47 | |
| 48 | pub fn run(&self, addr: &str) { |
| 49 | let listener = TcpListener::bind(addr).unwrap(); |
nothing calls this directly
no outgoing calls
no test coverage detected