mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
fix(cw_monero): wrong function in account rename call (#2183)
This commit is contained in:
parent
3f25d69244
commit
ea9b87d480
3 changed files with 15 additions and 13 deletions
|
@ -48,8 +48,7 @@ void addAccountSync({required String label}) {
|
|||
}
|
||||
|
||||
void setLabelForAccountSync({required int accountIndex, required String label}) {
|
||||
// TODO(mrcyjanek): this may be wrong function?
|
||||
wownero.Wallet_setSubaddressLabel(wptr!, accountIndex: accountIndex, addressIndex: 0, label: label);
|
||||
wownero.SubaddressAccount_setLabel(subaddressAccount!, accountIndex: accountIndex, label: label);
|
||||
}
|
||||
|
||||
void _addAccount(String label) => addAccountSync(label: label);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue