Browse Source

Consistent function naming

master
Luke Childs 5 years ago
parent
commit
a93c2be9a5
  1. 4
      src/key-formats/wif.js

4
src/key-formats/wif.js

@ -1,6 +1,6 @@
const bitcoin = require('bitcoinjs-lib');
const wif = () => {
const generateWif = () => {
const keyPair = bitcoin.ECPair.makeRandom();
const {publicKey} = keyPair;
@ -11,4 +11,4 @@ const wif = () => {
return {publicKey, format};
};
module.exports = wif;
module.exports = generateWif;

Loading…
Cancel
Save