code: public StoredServerChannel getChannel(Sha256Hash id) {
          lock.lock();
          try {
              return mapChannels.get(id);
          } finally {
              lock.unlock();
          }
      }
docs: Gets the {@link StoredServerChannel} with the given channel id (ie contract transaction hash).