Closed tohrxyz closed 1 year ago
Hey thanks for your first contribution to the Devkit Wallet, and thanks for finding and fixing a bug! Here are a few things I'd need fixed before I merge:
Mnemonic
object is asString()
instead of toString()
. You can see the docs here.The error is fixed when using
Repository.saveMnemonic(mnemonic.asString())
Fix bug where Mnemonic type was saved instead of actual mnemonic string
.Cheers! :fire:
Hey, thanks for revision. I made those changes and committed the fixed version.
fixed bug while saving mnemonic
In Wallet.kt, function createWallet(), there was a bug when a class Mnemonic was being saved, instead of an object mnemonic of that class.
Mnemonic.toString()
, but it should've beenmnemonic.toString()