Skip to content

initwallet REST API is failing with passphrase #3128

@ShahanaFarooqui

Description

@ShahanaFarooqui

initwallet REST API is working without passphrase but it fails with passphrase with 'invalid passphrase' error message.

Your environment

  • version of lnd: 0.6.0-beta
  • which operating system: Windows
  • version bitcoind: v0.17.1

Steps to reproduce

Initialize wallet with below details:
Method: POST,
url: https://192.168.1.8:8080/v1/initwallet,
payload: {
"wallet_password":"c3VoZWIxMjM=",
"cipher_seed_mnemonic":["absent","stuff","layer","holiday","slam","pelican","drift","heart","prepare","casual","treat","liar","small","venue","fragile","wise","frown","safe","brief","cherry","pigeon","pole","sound","rocket"],
"aezeed_passphrase":"dGhpc2lzbXlwYXNzcGhyYXNl"
}

Expected behaviour

It should successfully initialize the wallet.

Actual behaviour

Failed response with { "error": "invalid passphrase", "code": 2 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions