示例#1
0
        public async Task SignExternallyAsync(IEthECKeyExternalSigner externalSigner)
        {
            if (externalSigner.ExternalSignerFormat == ExternalSignerFormat.RLP)
            {
                Signature = await externalSigner.SignAndCalculateVAsync(GetRLPEncodedRaw());
            }
            else
            {
                Signature = await externalSigner.SignAndCalculateVAsync(RawHash);
            }

            rlpSignedEncoded = null;
        }
示例#2
0
        public async Task SignExternallyAsync(IEthECKeyExternalSigner externalSigner)
        {
            //Hack not passing hash
            Signature = await externalSigner.SignAndCalculateVAsync(GetRLPEncodedRaw());

            rlpSignedEncoded = null;
        }