param: upgraded json_tok_percent

Made it a local static since its only used once.

Signed-off-by: Mark Beckwith <wythe@intrig.com>
This commit is contained in:
Mark Beckwith
2018-08-14 11:30:32 -05:00
committed by Rusty Russell
parent 47555efc0d
commit 947752b9cc
4 changed files with 19 additions and 23 deletions

View File

@@ -50,8 +50,6 @@ struct fail_format {
};
static struct fail_format fail_formats[] = {
{json_tok_percent,
"'%s' should be a double in range [0.0, 100.0], not '%.*s'"},
{json_tok_newaddr, "'%s' should be 'bech32' or 'p2sh-segwit', not '%.*s'"},
{json_tok_wtx,
"'%s' should be 'all' or a positive integer greater than "