Removing unused rbf frontend code

This commit is contained in:
softsimon
2023-07-18 11:42:13 +09:00
parent 13cef1d8fa
commit bade78e53b
3 changed files with 3 additions and 39 deletions

View File

@@ -206,16 +206,4 @@ export class DashboardComponent implements OnInit, OnDestroy {
trackByBlock(index: number, block: BlockExtended) {
return block.height;
}
checkFullRbf(tree: RbfTree): void {
let fullRbf = false;
for (const replaced of tree.replaces) {
if (!replaced.tx.rbf) {
fullRbf = true;
}
replaced.replacedBy = tree.tx;
this.checkFullRbf(replaced);
}
tree.tx.fullRbf = fullRbf;
}
}