Skip to content
Snippets Groups Projects
Commit bc34c762 authored by Hans Moog's avatar Hans Moog
Browse files

Refactor: added a few comments

parent 751ce92c
Branches
No related tags found
No related merge requests found
......@@ -613,6 +613,7 @@ func (tangle *Tangle) propagateRejectedToTransactions(transactionID transaction.
}
metadata.setPreferred(false)
// if the transaction is not finalized, yet then we set it to finalized
if !metadata.Finalized() {
if _, err := tangle.setTransactionFinalized(metadata.ID(), EventSourceTangle); err != nil {
tangle.Events.Error.Trigger(err)
......
......@@ -2102,6 +2102,7 @@ func TestPropagationScenario1(t *testing.T) {
{
tangle, transactions, valueObjects, _ := preparePropagationScenario1()
// initialize debugger for this test
debugger.ResetAliases()
for name, valueObject := range valueObjects {
debugger.RegisterAlias(valueObject.ID(), "ValueObjectID"+name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment