consolidate monero wallet sync status into shared WalletSyncStatus type.
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import type { MoneroNetwork } from './MoneroNetwork';
|
||||
import type { MoneroWalletSyncStatus } from './MoneroWalletSyncStatus';
|
||||
import type { WalletSyncStatus } from '../wallet/WalletSyncStatus';
|
||||
|
||||
export interface MoneroWalletStatus {
|
||||
network: MoneroNetwork;
|
||||
rpcVersion: string;
|
||||
walletHeight: number;
|
||||
daemonHeight: number | null;
|
||||
syncStatus: MoneroWalletSyncStatus;
|
||||
syncStatus: WalletSyncStatus;
|
||||
balanceXmr: string;
|
||||
unlockedBalanceXmr: string;
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
export enum MoneroWalletSyncStatus {
|
||||
export enum WalletSyncStatus {
|
||||
Synced = 'synced',
|
||||
Syncing = 'syncing',
|
||||
Unknown = 'unknown'
|
||||
Reference in New Issue
Block a user