Rename commands to have ecc... prefix
This commit is contained in:
parent
4eaeade618
commit
3205187090
1 changed files with 2 additions and 2 deletions
|
@ -125,11 +125,11 @@ class UiWebsocketPlugin(object):
|
|||
self.response(to, CryptBitcoin.verify(data, address, signature))
|
||||
|
||||
# Gets the publickey of a given privatekey
|
||||
def actionPrivToPub(self, to, privatekey):
|
||||
def actionEccPrivToPub(self, to, privatekey):
|
||||
self.response(to, btctools.privtopub(privatekey))
|
||||
|
||||
# Gets the address of a given publickey
|
||||
def actionPubToAddr(self, to, publickey):
|
||||
def actionEccPubToAddr(self, to, publickey):
|
||||
address = btctools.pubtoaddr(btctools.decode_pubkey(publickey))
|
||||
self.response(to, address)
|
||||
|
||||
|
|
Loading…
Reference in a new issue