docs: public synchronized void storeChannelInWallet(Sha256Hash id) {
          stateMachine.checkState(State.SAVE_STATE_IN_WALLET);
          checkState(id != null);
          if (storedChannel != null) {
              checkState(storedChannel.id.equals(id));
              return;
          }
          doStoreChannelInWallet(id);
  
          try {
              wallet.commitTx(getContractInternal());
          } catch (VerificationException e) {
              throw new RuntimeException(e); // We created it
          }
          stateMachine.transition(State.PROVIDE_MULTISIG_CONTRACT_TO_SERVER);
      }