Skip to content

import of private key from ZilPay failed #49

@SvenMeyer

Description

@SvenMeyer

I stored the private key of a test account I used with ZilPay , and wanted to import it with zil, but got the following error :

$ zli wallet from 447a392d410..............................ec759d07bce0a0c6e2dc41b5c
panic: invalid private key

goroutine 1 [running]:
zli/cmd/wallet.glob..func3(0xd75e80, 0xc000592980, 0x1, 0x1)
	/home/sum/DEV/ZIL/zli/cmd/wallet/from.go:49 +0x2b0
github.com/spf13/cobra.(*Command).execute(0xd75e80, 0xc000592940, 0x1, 0x1, 0xd75e80, 0xc000592940)
	/root/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830 +0x29d
github.com/spf13/cobra.(*Command).ExecuteC(0xd72780, 0x4438fa, 0xd36a60, 0xc000000180)
	/root/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
	/root/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
zli/cmd.Execute()
	/home/sum/DEV/ZIL/zli/cmd/root.go:55 +0x31
main.main()
	/home/sum/DEV/ZIL/zli/main/main.go:22 +0x20

Importing the private key into a (new) ZilPay wallet worked without a problem.

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