Fixed small issue in test + removed explicit check for duplicates in pending transactions.
They are covered by proposal storage check.
This commit is contained in:
parent
a94dd371c1
commit
e6f56af1b6
2 changed files with 1 additions and 9 deletions
|
|
@ -141,14 +141,6 @@ void database::check_tansaction_for_duplicated_operations(const signed_transacti
|
|||
}
|
||||
});
|
||||
|
||||
for (auto& pending_transaction: _pending_tx)
|
||||
{
|
||||
for (auto& operation: pending_transaction.operations)
|
||||
{
|
||||
existed_operations_digests.insert(fc::digest(operation));
|
||||
}
|
||||
}
|
||||
|
||||
proposed_operations_digest_accumulator digest_accumulator;
|
||||
for (auto& operation: trx.operations)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ namespace
|
|||
|
||||
for (auto& operation: operations)
|
||||
{
|
||||
operation_proposal.proposed_ops = {op_wrapper(operation)};
|
||||
operation_proposal.proposed_ops.push_back(op_wrapper(operation));
|
||||
}
|
||||
|
||||
signed_transaction transaction;
|
||||
|
|
|
|||
Loading…
Reference in a new issue