Looks like I can round-trip an SSB identity, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4733 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -159,7 +159,7 @@ static JSValue _util_bip39_words(JSContext* context, JSValueConst this_val, int
|
||||
static JSValue _util_bip39_bytes(JSContext* context, JSValueConst this_val, int argc, JSValueConst* argv)
|
||||
{
|
||||
const char* words = JS_ToCString(context, argv[0]);
|
||||
uint8_t bytes[33] = { 0 };
|
||||
uint8_t bytes[32] = { 0 };
|
||||
bool success = tf_bip39_words_to_bytes(words, bytes, sizeof(bytes));
|
||||
JS_FreeCString(context, words);
|
||||
if (success)
|
||||
|
Reference in New Issue
Block a user