Renamed the electrs backend support to 'electrs'.

This commit is contained in:
Simon Lindh
2019-12-06 22:37:07 +01:00
parent aa8bccdb8f
commit d1fce86adb
18 changed files with 40 additions and 40 deletions

View File

@@ -56,7 +56,7 @@ class Mempool {
let totalOut = 0;
transaction.vout.forEach((output) => totalOut += output.value);
if (config.BACKEND_API === 'esplora') {
if (config.BACKEND_API === 'electrs') {
transaction.feePerWeightUnit = (transaction.fee * 100000000) / transaction.weight || 0;
transaction.feePerVsize = (transaction.fee * 100000000) / (transaction.vsize) || 0;
transaction.totalOut = totalOut / 100000000;