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:
Luke Parker
2023-04-11 10:37:47 -04:00
parent 61757d5e19
commit a290b74805
2 changed files with 2 additions and 2 deletions

View File

@@ -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;