MCPcopy Create free account
hub / github.com/assaultcube/AC / mypubkey

Function mypubkey

source/src/crypto.cpp:987–992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

985
986
987void mypubkey()
988{
989 string res = "";
990 if(sk) bin2hex(res, sk + 32, 32);
991 result(res);
992}
993COMMAND(mypubkey, "");
994
995

Callers

nothing calls this directly

Calls 2

bin2hexFunction · 0.85
resultFunction · 0.85

Tested by

no test coverage detected