koinos / koinos-cli

A command line utility used for key management and to interact with the Koinos blockchain.
Other
9 stars 7 forks source link

Help sometimes fails #47

Closed mvandeberg closed 1 year ago

mvandeberg commented 2 years ago
🟢 🔓 > help call
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/koinos/koinos-cli-wallet/internal/wallet.ParseAndInterpret(0xc0000b2100, 0xc0000c0000, 0xc000199960, 0xa, 0xc000060cd8)
        /Users/mdv/git/koinos-cli-wallet/internal/wallet/util.go:233 +0x545
github.com/koinos/koinos-cli-wallet/cmd/cli-wallet/interactive.(*KoinosPrompt).executor(0xc0000b4080, 0xc000199960, 0xa)
        /Users/mdv/git/koinos-cli-wallet/cmd/cli-wallet/interactive/interactive.go:91 +0x4b
github.com/c-bata/go-prompt.(*Prompt).Run(0xc0000c4000)
        /Users/mdv/go/pkg/mod/github.com/c-bata/go-prompt@v0.2.6-0.20210301180729-8aae7fb1a6f9/prompt.go:84 +0x7df
github.com/koinos/koinos-cli-wallet/cmd/cli-wallet/interactive.(*KoinosPrompt).Run(0xc0000b4080)
        /Users/mdv/git/koinos-cli-wallet/cmd/cli-wallet/interactive/interactive.go:99 +0x152
main.main()
        /Users/mdv/git/koinos-cli-wallet/cmd/cli-wallet/main.go:65 +0x2f7
koinos-ci commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

koinos-ci commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.