"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPubKeyHash = exports.getPubKeyHashFromNetwork = exports.getWifFromNetwork = void 0;
const managers_1 = require("../managers");
const getWifFromNetwork = (network) => network ? network.wif : managers_1.configManager.get("network.wif");
exports.getWifFromNetwork = getWifFromNetwork;
const getPubKeyHashFromNetwork = (network) => network ? network.pubKeyHash : managers_1.configManager.get("network.pubKeyHash");
exports.getPubKeyHashFromNetwork = getPubKeyHashFromNetwork;
const getPubKeyHash = (networkVersion) => networkVersion || managers_1.configManager.get("network.pubKeyHash");
exports.getPubKeyHash = getPubKeyHash;
//# sourceMappingURL=helpers.js.map