File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " codex32"
7- version = " 0.2 .0"
7+ version = " 0.3 .0"
88authors = [
99 { name = " Ben Westgate" , email = " benwestgate@protonmail.com" },
1010]
Original file line number Diff line number Diff line change @@ -367,14 +367,12 @@ def data(self):
367367 def from_unchecksummed_string (cls , s , hrp = "ms" ):
368368 """Create Codex32String from unchecksummed string."""
369369 _ , data = bech32_decode (s , hrp = hrp )
370- ret = cls (bech32_encode (data + ms32_create_checksum (data ), hrp ))
371- return ret
370+ return cls (bech32_encode (data + ms32_create_checksum (data ), hrp ))
372371
373372 @classmethod
374- def from_string (cls , s , hrp = "ms" ):
373+ def from_string (cls , s ):
375374 """Create Codex32String from a codex32 string."""
376- ret = cls (s )
377- return ret
375+ return cls (s )
378376
379377 @classmethod
380378 def interpolate_at (cls , shares , target = "s" ):
You can’t perform that action at this time.
0 commit comments