mirror of
https://github.com/fluencelabs/aqua-lib
synced 2024-12-04 15:20:23 +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.
|
||||
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"):
|
||||
|
Loading…
Reference in New Issue
Block a user