mirror of
git://holbrook.no/eth-address-index
synced 2024-12-02 12:36:49 +01:00
Bump to whole patch version
This commit is contained in:
parent
0053a1fc71
commit
3dd286285c
@ -117,12 +117,15 @@ class Declarator(TxFactory):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def parse_declaration(self, v):
|
def parse_declaration(self, v):
|
||||||
cursor = 0
|
cursor = 0
|
||||||
|
r = []
|
||||||
|
try:
|
||||||
v = strip_0x(v)
|
v = strip_0x(v)
|
||||||
|
except ValueError:
|
||||||
|
return r
|
||||||
position = int.from_bytes(bytes.fromhex(v[cursor:cursor+64]), 'big')
|
position = int.from_bytes(bytes.fromhex(v[cursor:cursor+64]), 'big')
|
||||||
cursor += (position * 2)
|
cursor += (position * 2)
|
||||||
length = int.from_bytes(bytes.fromhex(v[cursor:cursor+64]), 'big')
|
length = int.from_bytes(bytes.fromhex(v[cursor:cursor+64]), 'big')
|
||||||
cursor += 64
|
cursor += 64
|
||||||
r = []
|
|
||||||
for i in range(length):
|
for i in range(length):
|
||||||
r.append(v[cursor:cursor+64])
|
r.append(v[cursor:cursor+64])
|
||||||
cursor += 64
|
cursor += 64
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
confini>=0.3.6rc3,<0.5.0
|
confini~=0.5.1
|
||||||
chainlib-eth>=0.0.9a13,<=0.1.0
|
chainlib-eth~=0.0.10
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = eth-address-index
|
name = eth-address-index
|
||||||
version = 0.2.4a2
|
version = 0.2.4
|
||||||
description = Signed metadata declarations for ethereum addresses
|
description = Signed metadata declarations for ethereum addresses
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
Loading…
Reference in New Issue
Block a user