diff --git a/rpc/src/transaction_status_service.rs b/rpc/src/transaction_status_service.rs index 1d6eaa1f67dfc5..b98f0831518675 100644 --- a/rpc/src/transaction_status_service.rs +++ b/rpc/src/transaction_status_service.rs @@ -460,7 +460,7 @@ pub(crate) mod tests { }; assert!(test_notifier.notifications.contains_key(&key)); - let result = &*test_notifier.notifications.get(&key).unwrap(); + let result = test_notifier.notifications.get(&key).unwrap(); assert_eq!( expected_transaction.signature(), result.transaction.signature()