mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Create accounts on linking if they do not exist
This can happen if someone tries to link to another account before doing any other action that creates an account.
This commit is contained in:
parent
ad76fec535
commit
cea60feeae
1 changed files with 2 additions and 2 deletions
|
@ -349,8 +349,8 @@ def LinkCore(link,other_identity):
|
|||
if links:
|
||||
if identity in links.split(chr(0)):
|
||||
# we have both
|
||||
account=redis_hget('accounts',identity)
|
||||
other_account=redis_hget('accounts',other_identity)
|
||||
account=GetAccount(identity)
|
||||
other_account=GetAccount(other_identity)
|
||||
if account==other_account:
|
||||
log_info('%s and %s already have the same account: %s' % (identity,other_identity,account))
|
||||
return True, "same-account"
|
||||
|
|
Loading…
Reference in a new issue