Remove no-op conversions
This commit is contained in:
parent
d74074ad53
commit
adeb8ee425
1 changed files with 2 additions and 2 deletions
|
@ -814,7 +814,7 @@ pub async fn send_transaction_message_route(
|
||||||
// Check if this is a new transaction id
|
// Check if this is a new transaction id
|
||||||
if db
|
if db
|
||||||
.transaction_ids
|
.transaction_ids
|
||||||
.existing_txnid(&sender, None, (&*message_id).into())?
|
.existing_txnid(&sender, None, &message_id)?
|
||||||
.is_some()
|
.is_some()
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
@ -862,7 +862,7 @@ pub async fn send_transaction_message_route(
|
||||||
|
|
||||||
// Save transaction id with empty data
|
// Save transaction id with empty data
|
||||||
db.transaction_ids
|
db.transaction_ids
|
||||||
.add_txnid(&sender, None, (&*message_id).into(), &[])?;
|
.add_txnid(&sender, None, &message_id, &[])?;
|
||||||
}
|
}
|
||||||
Edu::_Custom(_) => {}
|
Edu::_Custom(_) => {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue