Skip to content

Commit

Permalink
Fix some test failures
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Stuewe <[email protected]>
  • Loading branch information
HalosGhost committed Sep 29, 2022
1 parent 79fa92c commit 39496ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/archiver_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class ArchiverTest : public ::testing::Test {

cbdc::transaction::output out;
out.m_witness_program_commitment = {val++};
out.m_range = cbdc::rangeproof_t<>{};

tx.m_inputs.push_back(inp);
tx.m_outputs.push_back(out);
Expand Down
1 change: 1 addition & 0 deletions tests/unit/atomizer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ TEST_F(atomizer_test, test_with_transactions) {

cbdc::transaction::output out;
out.m_witness_program_commitment = {val++};
out.m_range = cbdc::rangeproof_t<>{};

tx.m_inputs.push_back(inp);
tx.m_outputs.push_back(out);
Expand Down

0 comments on commit 39496ff

Please sign in to comment.