neoneo-go/cli
Anna Shaleva a86bd2cd08 cli: set ctl.ErrWriter
We did not have it set, however we use it in the several places which
results with the following panic:
```
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x4ddf0d]

goroutine 1 [running]:
fmt.Fprintln(0x0, 0x0, 0xc0001d7c08, 0x1, 0x1, 0x10376c0, 0xc0002051c0, 0x0)
	fmt/print.go:265 +0x5d
github.com/nspcc-dev/neo-go/cli/wallet.transferNEP5(0xc0000a9080, 0x0, 0x0)
	github.com/nspcc-dev/neo-go/cli/wallet/nep5.go:445 +0x9eb
github.com/urfave/cli.HandleAction(0xc837c0, 0xf26198, 0xc0000a9080, 0xc00007f600, 0x0)
	github.com/urfave/cli@v1.20.0/app.go:490 +0xc8
github.com/urfave/cli.Command.Run(0xdc66a3, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdd0b0d, 0x14, 0xdf6c25, ...)
	github.com/urfave/cli@v1.20.0/command.go:210 +0x9e8
github.com/urfave/cli.(*App).RunAsSubcommand(0xc0001aa340, 0xc0000a8dc0, 0x0, 0x0)
	github.com/urfave/cli@v1.20.0/app.go:379 +0x88b
github.com/urfave/cli.Command.startApp(0xdc23e4, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdd546a, 0x18, 0x0, ...)
	github.com/urfave/cli@v1.20.0/command.go:298 +0x81a
github.com/urfave/cli.Command.Run(0xdc23e4, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0xdd546a, 0x18, 0x0, ...)
	github.com/urfave/cli@v1.20.0/command.go:98 +0x1219
github.com/urfave/cli.(*App).RunAsSubcommand(0xc0001aa1a0, 0xc0000a8c60, 0x0, 0x0)
	github.com/urfave/cli@v1.20.0/app.go:379 +0x88b
github.com/urfave/cli.Command.startApp(0xdc45bf, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0xde1d28, 0x24, 0x0, ...)
	github.com/urfave/cli@v1.20.0/command.go:298 +0x81a
github.com/urfave/cli.Command.Run(0xdc45bf, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0xde1d28, 0x24, 0x0, ...)
	github.com/urfave/cli@v1.20.0/command.go:98 +0x1219
github.com/urfave/cli.(*App).Run(0xc0001aa000, 0xc000030120, 0x12, 0x12, 0x0, 0x0)
	github.com/urfave/cli@v1.20.0/app.go:255 +0x741
main.main()
	command-line-arguments/main.go:18 +0x4b

```
2020-11-10 15:20:03 +03:00
..
flags cli: add tests to cli packages 2020-08-26 10:14:55 +03:00
input cli: move input handling to a separate package 2020-09-18 12:05:31 +03:00
options rpc: allow to use address, id or name instead of scripthash [Client] 2020-11-03 17:58:24 +03:00
paramcontext cli: allow to send multisig deploy/invoke tx 2020-10-07 11:48:06 +03:00
server rpc: exit from Start after Listener is running 2020-09-18 12:05:31 +03:00
smartcontract rpc, cli: remove Network from RPC client and cli 2020-10-19 16:11:11 +03:00
testdata cli: add test for testinvokefunction 2020-10-06 19:12:38 +03:00
util cli: use Writer from app instead of Stdout 2020-09-18 12:05:31 +03:00
vm *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
wallet cli: add ExitError where needed 2020-11-05 10:37:06 +03:00
.gitignore Better error messages (#24) 2018-02-24 10:10:45 +01:00
candidate_test.go rpc, cli: remove Network from RPC client and cli 2020-10-19 16:11:11 +03:00
contract_test.go rpc, cli: remove Network from RPC client and cli 2020-10-19 16:11:11 +03:00
executor_test.go cli: add test for testinvokefunction 2020-10-06 19:12:38 +03:00
main.go cli: set ctl.ErrWriter 2020-11-10 15:20:03 +03:00
main_test.go cli: add tests for NEP5 balance querying 2020-09-18 12:07:02 +03:00
multisig_test.go rpc: allow to use address, id or name instead of scripthash [Client] 2020-11-03 17:58:24 +03:00
nep5_test.go rpc: allow to use address, id or name instead of scripthash [Client] 2020-11-03 17:58:24 +03:00
options_test.go rpc: allow to use address, id or name instead of scripthash [Client] 2020-11-03 17:58:24 +03:00
wallet_test.go rpc, cli: remove Network from RPC client and cli 2020-10-19 16:11:11 +03:00