Skip to content

Commit a0e58b8

Browse files
roks0nfaustbrian
authored andcommitted
fix: pass network_version to the underlying call in address_from_private_key (#63)
1 parent a7c739c commit a0e58b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/identity/address.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def address_from_passphrase(passphrase, network_version=None):
6363
network_version = network['version']
6464

6565
private_key = hashlib.sha256(passphrase.encode()).hexdigest()
66-
address = address_from_private_key(private_key)
66+
address = address_from_private_key(private_key, network_version)
6767
return address
6868

6969

0 commit comments

Comments
 (0)