Fix typo ''atheight'' instead of ''byheight'' in utxo handler (#577)

* Fix typo atheight instead of byheight in utxo handler

* Change atheight to byheight
This commit is contained in:
Quentin Le Sceller
2018-01-04 10:39:30 -05:00
committed by AntiochP
parent c8383dac93
commit 1c3034b17f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ impl Handler for UtxoHandler {
}
match *path_elems.last().unwrap() {
"byids" => json_response(&self.utxos_by_ids(req)),
"atheight" => json_response(&self.utxo_block_batch(req)),
"byheight" => json_response(&self.utxo_block_batch(req)),
_ => Ok(Response::with((status::BadRequest, ""))),
}
}