Merge pull request #4836 from mempool/mononaut/first-seen-tooltip
Display first seen time on block visualisation tooltips
This commit is contained in:
@@ -552,6 +552,7 @@ export class Common {
|
||||
value: tx.vout.reduce((acc, vout) => acc + (vout.value ? vout.value : 0), 0),
|
||||
acc: tx.acceleration || undefined,
|
||||
rate: tx.effectiveFeePerVsize,
|
||||
time: tx.firstSeen || undefined,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -598,7 +598,8 @@ class MempoolBlocks {
|
||||
tx.value,
|
||||
Math.round((tx.rate || (tx.fee / tx.vsize)) * 100) / 100,
|
||||
tx.flags,
|
||||
1
|
||||
tx.time || 0,
|
||||
1,
|
||||
];
|
||||
} else {
|
||||
return [
|
||||
@@ -608,6 +609,7 @@ class MempoolBlocks {
|
||||
tx.value,
|
||||
Math.round((tx.rate || (tx.fee / tx.vsize)) * 100) / 100,
|
||||
tx.flags,
|
||||
tx.time || 0,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user