forked from lthn/blockchain
fixed but with sequence points
This commit is contained in:
parent
033ec29d60
commit
19f0f0bbf0
3 changed files with 11 additions and 5 deletions
|
|
@ -1580,7 +1580,6 @@ namespace currency
|
|||
ftp.tx_outs_attr = tx_outs_attr;
|
||||
ftp.shuffle = shuffle;
|
||||
ftp.flags = flags;
|
||||
ftp.tx_version;
|
||||
|
||||
finalized_tx ft = AUTO_VAL_INIT(ft);
|
||||
ft.tx = tx;
|
||||
|
|
@ -1832,7 +1831,8 @@ namespace currency
|
|||
//fill inputs NLSAG and Zarcanum
|
||||
for (const tx_source_entry& src_entr : sources)
|
||||
{
|
||||
inputs_mapping[current_index] = current_index++;
|
||||
inputs_mapping[current_index] = current_index;
|
||||
current_index++;
|
||||
in_contexts.push_back(input_generation_context_data());
|
||||
if(src_entr.is_multisig())
|
||||
{//multisig input
|
||||
|
|
|
|||
|
|
@ -1060,7 +1060,13 @@ int main(int argc, char* argv[])
|
|||
GENERATE_AND_PLAY(isolate_auditable_and_proof);
|
||||
|
||||
GENERATE_AND_PLAY(zarcanum_basic_test);
|
||||
GENERATE_AND_PLAY(multiassets_basic_test);
|
||||
|
||||
stop_on_first_fail = true;
|
||||
for (uint64_t i = 0; i != 30; i++)
|
||||
{
|
||||
multiassets_basic_test::ts_starter = i;
|
||||
GENERATE_AND_PLAY(multiassets_basic_test);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ multiassets_basic_test::multiassets_basic_test()
|
|||
{
|
||||
// TODO: remove the following line
|
||||
|
||||
//LOG_PRINT_MAGENTA("STARTER TS: " << ts_starter, LOG_LEVEL_0);
|
||||
//random_state_test_restorer::reset_random(ts_starter);
|
||||
LOG_PRINT_MAGENTA("STARTER TS: " << ts_starter, LOG_LEVEL_0);
|
||||
random_state_test_restorer::reset_random(ts_starter);
|
||||
|
||||
REGISTER_CALLBACK_METHOD(multiassets_basic_test, configure_core);
|
||||
REGISTER_CALLBACK_METHOD(multiassets_basic_test, c1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue