docs: public void clearInputs() {
          unCache();
          for (TransactionInput input : inputs) {
              input.setParent(null);
          }
          inputs.clear();
          // You wanted to reserialize, right?
          this.length = this.unsafeBitcoinSerialize().length;
      }