Kaynağa Gözat

contract/money/integration: Gather block reward owncoins

parazyd 2 yıl önce
ebeveyn
işleme
13bd090150
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      src/contract/money/tests/integration.rs

+ 4 - 0
src/contract/money/tests/integration.rs

@@ -51,6 +51,8 @@ fn money_integration() -> Result<()> {
             .await?;
         }
 
+        let _ = th.gather_owncoin(&Holder::Alice, &alice_proposal_params.output, None)?;
+
         th.assert_trees(&HOLDERS);
         verification_slot += 1;
         th.generate_slot(verification_slot).await?;
@@ -71,6 +73,8 @@ fn money_integration() -> Result<()> {
             .await?;
         }
 
+        let _ = th.gather_owncoin(&Holder::Bob, &bob_proposal_params.output, None)?;
+
         th.assert_trees(&HOLDERS);
         verification_slot += 1;
         th.generate_slot(verification_slot).await?;