chore: update format! macro use to satisfy latest clippy version (#194)
This commit is contained in:
@@ -86,7 +86,8 @@ pub fn map_protocol_changes(
|
||||
BigInt::from_str(&String::from_utf8(store_delta.old_value).unwrap())
|
||||
.unwrap()
|
||||
.is_zero();
|
||||
let attribute_name = format!("ticks/{}/net-liquidity", tick_delta.tick_index);
|
||||
let attribute_name =
|
||||
format!("ticks/{index}/net-liquidity", index = tick_delta.tick_index);
|
||||
let attribute = Attribute {
|
||||
name: attribute_name,
|
||||
value: new_value_bigint.to_signed_bytes_be(),
|
||||
|
||||
Reference in New Issue
Block a user