mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-24 02:46:44 +00:00
GODT-2022: Fix change between address modes
This commit is contained in:
@ -39,7 +39,7 @@ import (
|
||||
|
||||
const (
|
||||
maxUpdateSize = 1 << 25
|
||||
maxBatchSize = 1 << 8
|
||||
maxBatchSize = 1 << 6
|
||||
)
|
||||
|
||||
// doSync begins syncing the users data.
|
||||
|
||||
@ -344,6 +344,11 @@ func (user *User) SetGluonID(addrID, gluonID string) error {
|
||||
return user.vault.SetGluonID(addrID, gluonID)
|
||||
}
|
||||
|
||||
// RemoveGluonID removes the gluon ID for the given address.
|
||||
func (user *User) RemoveGluonID(addrID, gluonID string) error {
|
||||
return user.vault.RemoveGluonID(addrID, gluonID)
|
||||
}
|
||||
|
||||
// GluonKey returns the user's gluon key from the vault.
|
||||
func (user *User) GluonKey() []byte {
|
||||
return user.vault.GluonKey()
|
||||
|
||||
Reference in New Issue
Block a user