Fix compile error in beacon node tests

This commit is contained in:
Paul Hauner
2019-11-22 17:38:24 +11:00
parent fd61bfb683
commit c170cfb902

View File

@@ -22,7 +22,7 @@ fn http_server_genesis_state() {
let (api_state, _root) = env
.runtime()
.block_on(remote_node.http.beacon().state_by_slot(Slot::new(0)))
.block_on(remote_node.http.beacon().get_state_by_slot(Slot::new(0)))
.expect("should fetch state from http api");
let mut db_state = node