瀏覽代碼

contract/money/integration: Gather block reward owncoins

parazyd 2 年之前
父節點
當前提交
2f9a9cc237
共有 1 個文件被更改,包括 4 次插入0 次删除
  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?;