This fixes a behavior where client.cspInfo() would return a No CSP URL set error when called before the client has registered any voters. This is because the CSP URL is currently only set during cspStep for voter validation.
Target behavior: client.cspInfo() should be usable once the client has created an election using a CSP census, even if no voters have registered.
Adds a call to
cspUrl()
inclient.cspInfo()
.This fixes a behavior where
client.cspInfo()
would return aNo CSP URL set
error when called before the client has registered any voters. This is because the CSP URL is currently only set duringcspStep
for voter validation.Target behavior:
client.cspInfo()
should be usable once the client has created an election using a CSP census, even if no voters have registered.