Closed sayhellotogithub closed 3 years ago
bip39: ^1.0.6
test("mnemonic to entropy", () { //word nasty space front wealth text hazard nerve dump deer tunnel mirror var result= mnemonicToEntropy("word nasty space front wealth text hazard nerve dump deer tunnel mirror"); print(result); });
package:bip39/src/bip39_base.dart 111:7 mnemonicToEntropy. dart:_internal ListIterable.join package:bip39/src/bip39_base.dart 114:6 mnemonicToEntropy test/mnemonic_test.dart 46:17 main.
Invalid argument(s): Invalid mnemonic
That is not a valid bip39 phrase.
i know 'dump'
@junderw thank you
bip39: ^1.0.6
test code
test("mnemonic to entropy", () { //word nasty space front wealth text hazard nerve dump deer tunnel mirror var result= mnemonicToEntropy("word nasty space front wealth text hazard nerve dump deer tunnel mirror"); print(result); });
error
package:bip39/src/bip39_base.dart 111:7 mnemonicToEntropy.
dart:_internal ListIterable.join
package:bip39/src/bip39_base.dart 114:6 mnemonicToEntropy
test/mnemonic_test.dart 46:17 main.
Invalid argument(s): Invalid mnemonic