Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Commit

Permalink
Fix typo caught by release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
madninja committed Jun 3, 2020
1 parent 3980c5b commit 8e602b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bn_wallets.erl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ terminate(_Reason, #state{db=DB}) ->
%%

handle_rpc(<<"wallet_create">>, {Param}) ->
KeyMap = libp2p_crypto:generate_key(ed25519),
KeyMap = libp2p_crypto:generate_keys(ed25519),
Password = case ?jsonrpc_get_param(<<"password">>, Param) of
V when is_binary(V) andalso byte_size(V) > 0 -> V;
_ -> ?jsonrpc_error(invalid_params)
Expand Down

0 comments on commit 8e602b0

Please sign in to comment.