Updating sha3 dep (but dialyzer still can't find it?)
Some checks failed
EC Utils Tests / tests (push) Failing after -4m8s
Some checks failed
EC Utils Tests / tests (push) Failing after -4m8s
This commit is contained in:
parent
4c1af8bbf3
commit
eebfedd810
10
rebar.config
10
rebar.config
@ -6,7 +6,7 @@
|
|||||||
[{sha3,
|
[{sha3,
|
||||||
{git,
|
{git,
|
||||||
"https://git.qpq.swiss/QPQ-AG/erlang-sha3.git",
|
"https://git.qpq.swiss/QPQ-AG/erlang-sha3.git",
|
||||||
{ref, "77c4e048aea75bd0bc2b5ca6cb02b7230d081c71"}}}]}.
|
{ref, "12587a70ca17e2f365abb7c184e666e830821989"}}}]}.
|
||||||
|
|
||||||
{profiles,
|
{profiles,
|
||||||
[{test,
|
[{test,
|
||||||
@ -15,6 +15,10 @@
|
|||||||
{git,
|
{git,
|
||||||
"https://git.qpq.swiss/QPQ-AG/enacl.git",
|
"https://git.qpq.swiss/QPQ-AG/enacl.git",
|
||||||
{ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}},
|
{ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}},
|
||||||
|
{sha3,
|
||||||
|
{git,
|
||||||
|
"https://git.qpq.swiss/QPQ-AG/erlang-sha3.git",
|
||||||
|
{ref, "12587a70ca17e2f365abb7c184e666e830821989"}}},
|
||||||
{ecrecover,
|
{ecrecover,
|
||||||
{git,
|
{git,
|
||||||
"https://git.qpq.swiss/QPQ-AG/ecrecover.git",
|
"https://git.qpq.swiss/QPQ-AG/ecrecover.git",
|
||||||
@ -25,6 +29,10 @@
|
|||||||
{git,
|
{git,
|
||||||
"https://git.qpq.swiss/QPQ-AG/enacl.git",
|
"https://git.qpq.swiss/QPQ-AG/enacl.git",
|
||||||
{ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}},
|
{ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}},
|
||||||
|
{sha3,
|
||||||
|
{git,
|
||||||
|
"https://git.qpq.swiss/QPQ-AG/erlang-sha3.git",
|
||||||
|
{ref, "12587a70ca17e2f365abb7c184e666e830821989"}}},
|
||||||
{ecrecover,
|
{ecrecover,
|
||||||
{git,
|
{git,
|
||||||
"https://git.qpq.swiss/QPQ-AG/ecrecover.git",
|
"https://git.qpq.swiss/QPQ-AG/ecrecover.git",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{<<"sha3">>,
|
{<<"sha3">>,
|
||||||
{git,
|
{git,
|
||||||
"https://git.qpq.swiss/QPQ-AG/erlang-sha3.git",
|
"https://git.qpq.swiss/QPQ-AG/erlang-sha3.git",
|
||||||
{ref,"77c4e048aea75bd0bc2b5ca6cb02b7230d081c71"}},
|
{ref, "12587a70ca17e2f365abb7c184e666e830821989"}},
|
||||||
0}]}.
|
0}]}.
|
||||||
[
|
[
|
||||||
{pkg_hash,[
|
{pkg_hash,[
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
keccak256/1]).
|
keccak256/1]).
|
||||||
|
|
||||||
private_to_short(bitcoin, PrivateKey) ->
|
private_to_short(bitcoin, PrivateKey) ->
|
||||||
public_to_short(bitcoin, aeu_ecdsa:private_to_public(secp256k1, PrivateKey));
|
public_to_short(bitcoin, ecu_ecdsa:private_to_public(secp256k1, PrivateKey));
|
||||||
private_to_short(ethereum, <<PrivateKey:256>>) ->
|
private_to_short(ethereum, <<PrivateKey:256>>) ->
|
||||||
public_to_short(ethereum, ecu_secp256k1:scalar_mul_base(PrivateKey)).
|
public_to_short(ethereum, ecu_secp256k1:scalar_mul_base(PrivateKey)).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user