Make receivers flag optional (#76)

This commit is contained in:
Pietralberto Mazza
2024-01-10 12:39:05 +01:00
committed by GitHub
parent 46a85816ff
commit b438eb638f

View File

@@ -21,10 +21,8 @@ type receiver struct {
var (
receiversFlag = cli.StringFlag{
Name: "receivers",
Usage: "receivers of the send transaction, JSON encoded: '[{\"to\": \"<...>\", \"amount\": <...>}, ...]'",
Value: "",
Required: true,
Name: "receivers",
Usage: "receivers of the send transaction, JSON encoded: '[{\"to\": \"<...>\", \"amount\": <...>}, ...]'",
}
toFlag = cli.StringFlag{
Name: "to",