Update floEthereum.js

This commit is contained in:
tripathyr 2023-10-19 17:12:27 +05:30 committed by GitHub
parent abd8bc683e
commit 1599937156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,6 @@
'use strict';
const floEthereum = EXPORTS;
// onlyEvenY is usually false. It is needed to be true only when taproot private keys are input
const ethAddressFromPrivateKey = floEthereum.ethAddressFromPrivateKey = function(privateKey, onlyEvenY = false){
var t1,t1_x,t1_y,t2,t3,t4;
t1 = bitjs.newPubkey(privateKey);