gochain / web3

A CLI tool to interact with web3 blockchains - Ethereum, GoChain, etc
https://gochain.io
Apache License 2.0
402 stars 88 forks source link

Fix cli error on empty input array #294 #295

Closed ypcat closed 1 week ago

ypcat commented 2 weeks ago

strings.Split on empty string results in a slice with one empty string ([""]) instead of 0-length ([]).