Skip to content

Commit

Permalink
commit commit
Browse files Browse the repository at this point in the history
let's not have the worst of both worlds where we comment out unused
code.
Remove the printlns, they're not hard to add back in if you need them.
  • Loading branch information
michaeldjeffrey committed Sep 30, 2024
1 parent bba88de commit a5ff23a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mobile_verifier/tests/integrations/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ impl MockFileSinkReceiver<MobileRewardShare> {
pub async fn receive_gateway_reward(&mut self) -> GatewayReward {
match self.receive("receive_gateway_reward").await {
Some(mobile_reward) => {
// println!("mobile_reward: {:?}", mobile_reward);
match mobile_reward.reward {
Some(MobileReward::GatewayReward(r)) => r,
_ => panic!("failed to get gateway reward"),
Expand All @@ -147,7 +146,6 @@ impl MockFileSinkReceiver<MobileRewardShare> {
pub async fn receive_service_provider_reward(&mut self) -> ServiceProviderReward {
match self.receive("receive_service_provider_reward").await {
Some(mobile_reward) => {
// println!("mobile_reward: {:?}", mobile_reward);
match mobile_reward.reward {
Some(MobileReward::ServiceProviderReward(r)) => r,
_ => panic!("failed to get service provider reward"),
Expand All @@ -160,7 +158,6 @@ impl MockFileSinkReceiver<MobileRewardShare> {
pub async fn receive_subscriber_reward(&mut self) -> SubscriberReward {
match self.receive("receive_subscriber_reward").await {
Some(mobile_reward) => {
// println!("mobile_reward: {:?}", mobile_reward);
match mobile_reward.reward {
Some(MobileReward::SubscriberReward(r)) => r,
_ => panic!("failed to get subscriber reward"),
Expand All @@ -173,7 +170,6 @@ impl MockFileSinkReceiver<MobileRewardShare> {
pub async fn receive_promotion_reward(&mut self) -> PromotionReward {
match self.receive("receive_promotion_reward").await {
Some(mobile_reward) => {
// println!("mobile_reward: {:?}", mobile_reward);
match mobile_reward.reward {
Some(MobileReward::PromotionReward(r)) => r,
_ => panic!("failed to get promotion reward"),
Expand All @@ -186,7 +182,6 @@ impl MockFileSinkReceiver<MobileRewardShare> {
pub async fn receive_unallocated_reward(&mut self) -> UnallocatedReward {
match self.receive("receive_unallocated_reward").await {
Some(mobile_reward) => {
// println!("mobile_reward: {:?}", mobile_reward);
match mobile_reward.reward {
Some(MobileReward::UnallocatedReward(r)) => r,
_ => panic!("failed to get unallocated reward"),
Expand Down

0 comments on commit a5ff23a

Please sign in to comment.