UNPKG
@qso-soft/shared
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.1
1.0.0
Shared library for QSO-soft
github.com/Mokekula/QSO-shared.git
@qso-soft/shared
/
dist
/
helpers
/
cryptography-handlers
/
convert-private-key.js
9 lines
•
220 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
export
function
convertPrivateKey
(
privateKey
) {
if
(privateKey.
startsWith
(
'0x'
)) {
return
privateKey; }
else
{
return
`0x
${privateKey}
`
; } }
//# sourceMappingURL=convert-private-key.js.map