anchor.diff:                                      TmpTxState
                               end,
                           _ = set_entry(NewTxState, State),
  -                        trigger_delete_if_done(NewTxState)
  +                        trigger_delete_if_done(NewTxState, State)
                   end,
               State
       end;
  
positive.code:           || RTM <- RTMs ],
      ok.
  
  -spec trigger_delete_if_done(tx_state:tx_state()) -> ok.
  trigger_delete_if_done(TxState) ->
      ?TRACE("tx_tm_rtm:trigger delete?~n", []),
      case (tx_state:is_decided(TxState)) of
          ?undecided -> ok;
  
negative.code:         Decision -> %% commit / abort
              %% @TODO majority informed is sufficient?!
              case tx_state:all_tps_informed(TxState)
                       andalso ((tx_state:get_numids(TxState) =:= tx_state:get_numcommitack(TxState))
                               orelse (tx_tm =/= state_get_role(State)))
                  %%    andalso tx_state:all_tps_registered(TxState)
              of
                  true ->
  