Skip to content

Commit

Permalink
Fix comma
Browse files Browse the repository at this point in the history
Signed-off-by: deniallugo <[email protected]>
  • Loading branch information
Deniallugo committed Jul 20, 2021
1 parent 5f399de commit efa4106
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/lib/storage/src/tests/chain/mempool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ async fn contains_and_get_tx(mut storage: StorageProcessor<'_>) -> QueryResult<(
for tx in &txs {
let tx_hash = tx.hash();

assert!(!MempoolSchema(&mut storage).contains_tx(tx_hash).await?,);
assert!(!MempoolSchema(&mut storage).contains_tx(tx_hash).await?);
assert!(MempoolSchema(&mut storage).get_tx(tx_hash).await?.is_none());
}

Expand All @@ -335,7 +335,7 @@ async fn contains_and_get_tx(mut storage: StorageProcessor<'_>) -> QueryResult<(
for tx in &txs {
let tx_hash = tx.hash();

assert!(MempoolSchema(&mut storage).contains_tx(tx_hash).await?,);
assert!(MempoolSchema(&mut storage).contains_tx(tx_hash).await?);
assert_eq!(
MempoolSchema(&mut storage)
.get_tx(tx_hash)
Expand Down
2 changes: 1 addition & 1 deletion core/tests/loadnext/src/corrupted_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ mod tests {

assert!(!is_fee_amount_packable(
&unwrap_transfer(modified_transfer).fee
),);
));
}

#[test]
Expand Down

0 comments on commit efa4106

Please sign in to comment.