mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Tweak processor's slice handling due to a CI failure
The prior code worked without issue for me locally, but apparently it didn't always.
This commit is contained in:
@@ -61,7 +61,7 @@ impl<C: Coin, D: Db> SignerDb<C, D> {
|
||||
|
||||
let mut i = 0;
|
||||
while i < existing.len() {
|
||||
if existing[i .. (i + tx_len)].as_ref() == tx.as_ref() {
|
||||
if &existing[i .. (i + tx_len)] == tx.as_ref() {
|
||||
return;
|
||||
}
|
||||
i += tx_len;
|
||||
|
||||
Reference in New Issue
Block a user