Fix ercoin_genesis:sk_to_priv_validator_json/1

parent 5872020d
Pipeline #31417836 passed with stages
in 18 minutes and 21 seconds
......@@ -107,8 +107,8 @@ sk_to_priv_validator_json(SK) ->
{<<"last_round">>, <<"0">>},
{<<"last_step">>, 0},
{<<"priv_key">>,
[{<<"type">>, <<"tendermint/PrivKeyEd25519">>},
{<<"value">>, base64:encode(SK)}]}]},
{[{<<"type">>, <<"tendermint/PrivKeyEd25519">>},
{<<"value">>, base64:encode(SK)}]}}]},
jiffy:encode(ToEncode, Options).
%% Functions for generating initial data below.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment