added printing acc info
This commit is contained in:
parent
c84b79e099
commit
1f9e17e54b
@ -117,3 +117,10 @@ class User:
|
||||
print('Something went wrong while trying to delete account..')
|
||||
return False
|
||||
|
||||
def printAccountInfo(self):
|
||||
private_ser, public_ser = Signature.keysToBytes(self.private_key, self.public_key)
|
||||
print('Username: ' + self.username)
|
||||
print(public_ser)
|
||||
print(private_ser)
|
||||
|
||||
|
||||
|
@ -164,7 +164,7 @@ class MenuHelper:
|
||||
return
|
||||
|
||||
case "View account info":
|
||||
print(self.user.private_key)
|
||||
self.user.printAccountInfo()
|
||||
|
||||
case "Change username":
|
||||
self.user.updateAccount()
|
||||
|
Loading…
x
Reference in New Issue
Block a user