11 lines
376 B
Python
11 lines
376 B
Python
"""The address under which a participant appears in the public draw list (RND-14, DAT-65)."""
|
|||
|
|
|
||
|
|
from django.conf import settings
|
||
|
|
|
||
|
|
from .simulation import simulated_address
|
||
|
|
|
||
|
|
|
||
|
|
def participant_address(user) -> str:
|
||
|
|
if settings.LEDGER_BACKEND == "simulated":
|
||
|
|
return simulated_address(user)
|
||
|
|
raise NotImplementedError("HD addresses arrive with phase B (roadmap B4)")
|