Fix test
This commit is contained in:
@@ -26,7 +26,7 @@ static uint8_t testNum = 0;
|
|||||||
|
|
||||||
class TestCoinImport : public ::testing::Test, public Eval {
|
class TestCoinImport : public ::testing::Test, public Eval {
|
||||||
public:
|
public:
|
||||||
CMutableTransaction burnTx;
|
CMutableTransaction burnTx; std::vector<uint8_t> rawproof;
|
||||||
std::vector<CTxOut> payouts;
|
std::vector<CTxOut> payouts;
|
||||||
TxProof proof;
|
TxProof proof;
|
||||||
uint256 MoMoM;
|
uint256 MoMoM;
|
||||||
@@ -37,7 +37,7 @@ public:
|
|||||||
|
|
||||||
void SetImportTx() {
|
void SetImportTx() {
|
||||||
burnTx.vout.resize(0);
|
burnTx.vout.resize(0);
|
||||||
burnTx.vout.push_back(MakeBurnOutput(amount, testCcid, testSymbol, payouts));
|
burnTx.vout.push_back(MakeBurnOutput(amount, testCcid, testSymbol, payouts,rawproof));
|
||||||
importTx = CMutableTransaction(MakeImportCoinTransaction(proof, CTransaction(burnTx), payouts));
|
importTx = CMutableTransaction(MakeImportCoinTransaction(proof, CTransaction(burnTx), payouts));
|
||||||
MoMoM = burnTx.GetHash(); // TODO: an actual branch
|
MoMoM = burnTx.GetHash(); // TODO: an actual branch
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user