parent
ee8d8473e2
commit
1096b16336
|
@ -759,6 +759,7 @@ func TestLoginAccount(t *testing.T) {
|
||||||
createAccountRequest := &requests.CreateAccount{
|
createAccountRequest := &requests.CreateAccount{
|
||||||
DisplayName: "some-display-name",
|
DisplayName: "some-display-name",
|
||||||
CustomizationColor: "#ffffff",
|
CustomizationColor: "#ffffff",
|
||||||
|
Emoji: "some",
|
||||||
Password: password,
|
Password: password,
|
||||||
BackupDisabledDataDir: tmpdir,
|
BackupDisabledDataDir: tmpdir,
|
||||||
NetworkID: 1,
|
NetworkID: 1,
|
||||||
|
@ -1303,6 +1304,7 @@ func TestCreateWallet(t *testing.T) {
|
||||||
createAccountRequest := &requests.CreateAccount{
|
createAccountRequest := &requests.CreateAccount{
|
||||||
DisplayName: "some-display-name",
|
DisplayName: "some-display-name",
|
||||||
CustomizationColor: "#ffffff",
|
CustomizationColor: "#ffffff",
|
||||||
|
Emoji: "emoji",
|
||||||
Password: password,
|
Password: password,
|
||||||
BackupDisabledDataDir: tmpdir,
|
BackupDisabledDataDir: tmpdir,
|
||||||
NetworkID: 1,
|
NetworkID: 1,
|
||||||
|
@ -1366,6 +1368,7 @@ func TestSetFleet(t *testing.T) {
|
||||||
BackupDisabledDataDir: tmpdir,
|
BackupDisabledDataDir: tmpdir,
|
||||||
NetworkID: 1,
|
NetworkID: 1,
|
||||||
LogFilePath: tmpdir + "/log",
|
LogFilePath: tmpdir + "/log",
|
||||||
|
Emoji: "some",
|
||||||
}
|
}
|
||||||
c := make(chan interface{}, 10)
|
c := make(chan interface{}, 10)
|
||||||
signal.SetMobileSignalHandler(func(data []byte) {
|
signal.SetMobileSignalHandler(func(data []byte) {
|
||||||
|
|
|
@ -29,6 +29,7 @@ func TestCreateAccountAndLogin(t *testing.T) {
|
||||||
"verifyTransactionChainID":1,
|
"verifyTransactionChainID":1,
|
||||||
"currentNetwork":"mainnet_rpc",
|
"currentNetwork":"mainnet_rpc",
|
||||||
"customizationColor":"blue",
|
"customizationColor":"blue",
|
||||||
|
"emoji": "some",
|
||||||
"previewPrivacy":true,
|
"previewPrivacy":true,
|
||||||
"verifyTransactionURL":"https://eth-archival.gateway.pokt.network/v1/lb/3ef2018191814b7e1009b8d9",
|
"verifyTransactionURL":"https://eth-archival.gateway.pokt.network/v1/lb/3ef2018191814b7e1009b8d9",
|
||||||
"imagePath":null,
|
"imagePath":null,
|
||||||
|
|
|
@ -1372,7 +1372,8 @@ func (b *GethStatusBackend) generateOrImportAccount(mnemonic string, customizati
|
||||||
PublicKey: types.Hex2Bytes(walletDerivedAccount.PublicKey),
|
PublicKey: types.Hex2Bytes(walletDerivedAccount.PublicKey),
|
||||||
KeyUID: info.KeyUID,
|
KeyUID: info.KeyUID,
|
||||||
Address: types.HexToAddress(walletDerivedAccount.Address),
|
Address: types.HexToAddress(walletDerivedAccount.Address),
|
||||||
ColorID: "",
|
ColorID: multiacccommon.CustomizationColor(request.CustomizationColor),
|
||||||
|
Emoji: request.Emoji,
|
||||||
Wallet: true,
|
Wallet: true,
|
||||||
Path: pathDefaultWallet,
|
Path: pathDefaultWallet,
|
||||||
Name: walletAccountDefaultName,
|
Name: walletAccountDefaultName,
|
||||||
|
|
|
@ -20,6 +20,7 @@ type CreateAccount struct {
|
||||||
Password string `json:"password"`
|
Password string `json:"password"`
|
||||||
ImagePath string `json:"imagePath"`
|
ImagePath string `json:"imagePath"`
|
||||||
CustomizationColor string `json:"customizationColor"`
|
CustomizationColor string `json:"customizationColor"`
|
||||||
|
Emoji string `json:"emoji"`
|
||||||
|
|
||||||
WakuV2Nameserver *string `json:"wakuV2Nameserver"`
|
WakuV2Nameserver *string `json:"wakuV2Nameserver"`
|
||||||
WakuV2LightClient bool `json:"wakuV2LightClient"`
|
WakuV2LightClient bool `json:"wakuV2LightClient"`
|
||||||
|
|
Loading…
Reference in New Issue