Skip to content
Snippets Groups Projects
Commit 36f463eb authored by Jono Wenger's avatar Jono Wenger
Browse files

Export ConstructIdentity to javascript

parent 37e181f0
No related branches found
No related tags found
1 merge request!60Revert "Fail a test to be sure it works"
......@@ -78,6 +78,7 @@ func Test_changeExternalPassword(t *testing.T) {
// Tests that verifyPassword returns true for a valid password and false for an
// invalid password
func Test_verifyPassword(t *testing.T) {
utils.GetLocalStorage().Clear()
externalPassword := "myPassword"
if _, err := getOrInit(externalPassword); err != nil {
......
......@@ -57,6 +57,7 @@ func main() {
// wasm/channels.go
js.Global().Set("GenerateChannelIdentity",
js.FuncOf(wasm.GenerateChannelIdentity))
js.Global().Set("ConstructIdentity", js.FuncOf(wasm.ConstructIdentity))
js.Global().Set("ImportPrivateIdentity",
js.FuncOf(wasm.ImportPrivateIdentity))
js.Global().Set("GetPublicChannelIdentity",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment