Ejemplo n.º 1
0
  public Transaction(
      byte[] nonce,
      byte[] gasPrice,
      byte[] gasLimit,
      byte[] receiveAddress,
      byte[] value,
      byte[] data,
      byte[] r,
      byte[] s,
      byte v) {
    this(nonce, gasPrice, gasLimit, receiveAddress, value, data);

    ECDSASignature signature = new ECDSASignature(new BigInteger(r), new BigInteger(s));
    signature.v = v;
    this.signature = signature;
  }