Expose bip39 to script, and fix some things around base64 so that I can round trip it properly.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4729 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -653,7 +653,7 @@ static void _test_b64(const tf_test_options_t* options)
|
||||
fprintf(file,
|
||||
"'use strict';\n"
|
||||
"print(base64Encode('hello'));\n"
|
||||
"let x = base64Decode(base64Encode('hello'));\n"
|
||||
"let x = utf8Decode(base64Decode(base64Encode('hello')));\n"
|
||||
"if (x !== 'hello') {\n"
|
||||
" print(x);\n"
|
||||
" exit(1);\n"
|
||||
|
Reference in New Issue
Block a user