1
0
Fork 0
forked from lthn/blockchain

fixed transaction sync issue (#223)

This commit is contained in:
arthurest 2020-10-03 15:32:00 +04:00 committed by GitHub
parent 7e972a4321
commit 06ce740345
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 5 deletions

View file

@ -3573,7 +3573,7 @@ var AppComponent = /** @class */ (function () {
var wallet = _this.variablesService.getWallet(wallet_id);
if (wallet) {
if (wallet.history.length > 40) {
wallet.history.splice(0, 1);
wallet.history.splice(40, 1);
}
_this.ngZone.run(function () {
if (!wallet.loaded) {
@ -8896,7 +8896,6 @@ var WalletComponent = /** @class */ (function () {
clearTimeout(_this.copyAnimationTimeout);
_this.copyAnimation = false;
_this.mining = _this.variablesService.currentWallet.exclude_mining_txs;
_this.getRecentTransfers();
});
this.subRouting2 = this.router.events.subscribe(function (val) {
if (val instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__["RoutesRecognized"]) {

File diff suppressed because one or more lines are too long

View file

@ -249,7 +249,7 @@ export class AppComponent implements OnInit, OnDestroy {
const wallet = this.variablesService.getWallet(wallet_id);
if (wallet) {
if(wallet.history.length > 40) {
wallet.history.splice(0, 1);
wallet.history.splice(40, 1);
}
this.ngZone.run(() => {

View file

@ -107,7 +107,6 @@ export class WalletComponent implements OnInit, OnDestroy {
clearTimeout(this.copyAnimationTimeout);
this.copyAnimation = false;
this.mining = this.variablesService.currentWallet.exclude_mining_txs;
this.getRecentTransfers();
});
this.subRouting2 = this.router.events.subscribe(val => {
if (val instanceof RoutesRecognized) {