support getXmrSeed()

This commit is contained in:
woodser 2022-05-10 14:58:47 -04:00
parent 0e30603d15
commit f4120b869d
4 changed files with 33 additions and 0 deletions

View file

@ -268,6 +268,10 @@ public class CoreApi {
public BalancesInfo getBalances(String currencyCode) {
return walletsService.getBalances(currencyCode);
}
public String getXmrSeed() {
return walletsService.getXmrSeed();
}
public String getNewDepositAddress() {
return walletsService.getNewDepositAddress();

View file

@ -160,6 +160,10 @@ class CoreWalletsService {
return new BalancesInfo(getBtcBalances(), getXmrBalances());
}
}
String getXmrSeed() {
return xmrWalletService.getWallet().getMnemonic();
}
String getNewDepositAddress() {
accountService.checkAccountOpen();