Rename Sig.get_pub_key() to Sig.get_peer_id() (#28)

This commit is contained in:
Pavel 2022-09-05 21:18:21 +03:00 committed by GitHub
parent 3d5565f0e9
commit 70c78e4f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
verify(signature: []u8, data: []u8) -> bool
-- Gets service's public key.
get_pub_key() -> string
-- Gets the peer id of the service's key pair.
get_peer_id() -> string
-- Service for debugging purposes only
service Debug("debug"):