Merge branch 'master' into mononaut/acceleration-viz

This commit is contained in:
nymkappa
2023-08-03 15:28:56 +09:00
74 changed files with 1191 additions and 471 deletions

View File

@@ -108,7 +108,7 @@ export class Common {
static stripTransaction(tx: TransactionExtended): TransactionStripped {
return {
txid: tx.txid,
fee: tx.fee,
fee: tx.fee || 0,
vsize: tx.weight / 4,
value: tx.vout.reduce((acc, vout) => acc + (vout.value ? vout.value : 0), 0),
acc: tx.acceleration || undefined,