refactor to pass slices around and not &Vec<> (#498)

cleaned up a couple of unwrap() calls
This commit is contained in:
Antioch Peverell
2020-08-03 10:29:54 +01:00
committed by GitHub
parent 7a003374ac
commit e00c61fd05
9 changed files with 50 additions and 57 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ pub fn txs(
account: &str,
cur_height: u64,
validated: bool,
txs: &Vec<TxLogEntry>,
txs: &[TxLogEntry],
include_status: bool,
dark_background_color_scheme: bool,
) -> Result<(), Error> {