mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-29 09:07:58 +00:00
8 lines
292 B
JavaScript
8 lines
292 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.sr25519KeypairToU8a = sr25519KeypairToU8a;
|
|
const util_1 = require("@pezkuwi/util");
|
|
function sr25519KeypairToU8a({ publicKey, secretKey }) {
|
|
return (0, util_1.u8aConcat)(secretKey, publicKey).slice();
|
|
}
|