public CeloTransactionChainId(byte[] nonce, byte[] gasPrice, byte[] gasLimit, byte[] feeCurrency, byte[] gatewayFeeRecipient, byte[] gatewayFee, byte[] receiveAddress, byte[] value, byte[] data, byte[] chainId) { SimpleRlpSigner = new RLPSigner(GetElementsInOrder(nonce, gasPrice, gasLimit, feeCurrency, gatewayFeeRecipient, gatewayFee, receiveAddress, value, data, chainId), NUMBER_ENCODING_ELEMENTS); }
public CeloTransactionChainId(RLPSigner rlpSigner) { SimpleRlpSigner = rlpSigner; ValidateValidV(SimpleRlpSigner); GetChainIdFromVAndAppendDataForHashRecovery(); }