Display fees correctly for Liquid blocks.

This commit is contained in:
softsimon committed 2020-06-19 23:32:17 +07:00
1 parent 0ba604609a
commit b0fa5bb50a
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ class Blocks {
vin: [{
scriptsig: tx.vin[0].scriptsig
}],
vout: tx.vout.map((vout) => ({ scriptpubkey_address: vout.scriptpubkey_address }))
vout: tx.vout.map((vout) => ({ scriptpubkey_address: vout.scriptpubkey_address, value: vout.value }))
};
}
}
+1
View File
@@ -43,6 +43,7 @@ interface VinStrippedToScriptsig {
interface VoutStrippedToScriptPubkey {
scriptpubkey_address: string | undefined;
value: number;
}
export interface TransactionExtended extends Transaction {