py-near 1.1.55__py3-none-any.whl → 1.1.56__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
py_near/account.py CHANGED
@@ -480,7 +480,7 @@ class Account(object):
480
480
  if public_key not in self._signer_by_pk:
481
481
  raise ValueError(f"Public key {public_key} not found in signer list")
482
482
 
483
- private_key = signing.SigningKey(self._signer_by_pk[public_key], encoder=encoding.RawEncoder)
483
+ private_key = signing.SigningKey(self._signer_by_pk[public_key][:32], encoder=encoding.RawEncoder)
484
484
  sign = private_key.sign(nep461_hash)
485
485
  return base58.b58encode(sign).decode("utf-8")
486
486
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-near
3
- Version: 1.1.55
3
+ Version: 1.1.56
4
4
  Summary: Pretty simple and fully asynchronous framework for working with NEAR blockchain
5
5
  Author-email: pvolnov <petr@herewallet.app>
6
6
  License: Permission is hereby granted, free of charge, to any
@@ -1,5 +1,5 @@
1
1
  py_near/__init__.py,sha256=t5fAxjaU8dN8xpQR2vz0ZGhfTkdVy2RCbkhJhZFglk4,50
2
- py_near/account.py,sha256=khay55bKlJ3x70TVpiYhhuH1ASm8zis2eN-FTYBWQ-E,18302
2
+ py_near/account.py,sha256=XmTdggh7ZD64AQA4mKVto0V6_ZXLr8g_PeAX0rFsBR8,18307
3
3
  py_near/constants.py,sha256=inaWIuwmF1EB5JSB0ynnZY5rKY_QsxhF9KuCOhPsM6k,164
4
4
  py_near/models.py,sha256=85ynmLVJnzWvFKq-Z8iIO0waU-2iP-CSkaOGX4mYoL0,11590
5
5
  py_near/providers.py,sha256=X_GfddFzmafBatqFJH41Dp_lYvTNcz1Q3Ko2tEnN0VU,16193
@@ -32,8 +32,8 @@ py_near/mpc/auth/base.py,sha256=IoFdRWUQcerYZq8TCkpjXJQRcENnzA9WwFbVPgmHgcs,629
32
32
  py_near/mpc/auth/core.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  py_near/mpc/auth/default_auth.py,sha256=i70412yXYx3MlFSsPxHLKbF0CXTjC39Qtl34et8kAEw,751
34
34
  py_near/mpc/auth/keys_auth.py,sha256=DJPi37DnV6r6cSskHEhHBiR_QiaAQJkg0AEsYp6cePA,2359
35
- py_near-1.1.55.dist-info/licenses/LICENSE,sha256=I_GOA9xJ35FiL-KnYXZJdATkbO2KcV2dK2enRGVxzKM,1023
36
- py_near-1.1.55.dist-info/METADATA,sha256=e8ex0o1yHlb7ivf4FPTwxQy8cQEa87t4ib2k93ffu_A,6012
37
- py_near-1.1.55.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
38
- py_near-1.1.55.dist-info/top_level.txt,sha256=p8CZgfKEVmXnRfVX5VHR0Ls7OVFC2ZVEwthvNB8Rb2Q,8
39
- py_near-1.1.55.dist-info/RECORD,,
35
+ py_near-1.1.56.dist-info/licenses/LICENSE,sha256=I_GOA9xJ35FiL-KnYXZJdATkbO2KcV2dK2enRGVxzKM,1023
36
+ py_near-1.1.56.dist-info/METADATA,sha256=hAFwYM6qBbYltHYYlBOhC78SO4spc2gqCU0XvG7ppnI,6012
37
+ py_near-1.1.56.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
38
+ py_near-1.1.56.dist-info/top_level.txt,sha256=p8CZgfKEVmXnRfVX5VHR0Ls7OVFC2ZVEwthvNB8Rb2Q,8
39
+ py_near-1.1.56.dist-info/RECORD,,