Skip to content

Commit

Permalink
Fix format string (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
joyious committed Jun 13, 2018
1 parent 78e6d62 commit cb53d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ pub fn mark_mc_index_stable(db: &Connection, mci: u32) -> Result<()> {
if skiplist_units.len() > 0 {
let value_list = skiplist_units
.iter()
.map(|s| format!("'({},{})'", unit, s))
.map(|s| format!("('{}','{}')", unit, s))
.collect::<Vec<_>>()
.join(", ");
let sql = format!(
Expand Down

0 comments on commit cb53d29

Please sign in to comment.