anchor.diff:      ActiveTxs = case ets:tab2list(TableName) of
                       [] ->
                           [];
  -                    [{{prepare, Key1}, List1} | Rest1] ->
  +                    [{Key1, List1} | Rest1] ->
                           lists:foldl(fun({_Key, List}, Acc) ->
                               case List of
                                   [] ->
  
positive.code: 
  check_prepared(TxId, PreparedTx, Key) ->
      _SnapshotTime = TxId#tx_id.snapshot_time,
      case ets:lookup(PreparedTx, {prepare, Key}) of
          [] ->
              true;
          _ ->
  
negative.code:     ok;
  reset_prepared(PreparedTx, [{Key, _Type, {_Op, _Actor}} | Rest], TxId, Time, ActiveTxs) ->
      %% Could do this more efficiently in case of multiple updates to the same key
      true = ets:insert(PreparedTx, {Key, [{TxId, Time} | dict:fetch(Key, ActiveTxs)]}),
      reset_prepared(PreparedTx, Rest, TxId, Time, ActiveTxs).
  
  commit(Transaction, TxCommitTime, Updates, CommittedTx, State) ->
  