Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Mar 19, 2024
1 parent 6103831 commit 9656575
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/contract/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ mod tests {
assert_eq!(all[0].0, expected_event);
assert_eq!(all[0].1, stream_log);

#[cfg(feature = "pubsub")]
#[cfg(feature = "pubsub")]
{
let ws = alloy_rpc_client::WsConnect::new(anvil.ws_endpoint());
let client = RpcClient::connect_pubsub(ws).await.unwrap();
Expand All @@ -276,6 +276,5 @@ mod tests {
assert_eq!(stream_log.address, *contract.address());
assert_eq!(stream_log.block_number, Some(U256::from(3)));
}

}
}

0 comments on commit 9656575

Please sign in to comment.