mirror of
https://github.com/fluencelabs/aqua-lib
synced 2024-12-04 23:30:22 +00:00
Rename Sig.get_pub_key() to Sig.get_peer_id() (#28)
This commit is contained in:
parent
3d5565f0e9
commit
70c78e4f0d
@ -304,8 +304,8 @@ service Sig("sig"):
|
|||||||
-- Given the data and signature both as byte arrays, returns true if the signature is correct, false otherwise.
|
-- Given the data and signature both as byte arrays, returns true if the signature is correct, false otherwise.
|
||||||
verify(signature: []u8, data: []u8) -> bool
|
verify(signature: []u8, data: []u8) -> bool
|
||||||
|
|
||||||
-- Gets service's public key.
|
-- Gets the peer id of the service's key pair.
|
||||||
get_pub_key() -> string
|
get_peer_id() -> string
|
||||||
|
|
||||||
-- Service for debugging purposes only
|
-- Service for debugging purposes only
|
||||||
service Debug("debug"):
|
service Debug("debug"):
|
||||||
|
Loading…
Reference in New Issue
Block a user