Commit f6429e5
Fix #706: Use SeedCodec.encodeSeed() in Seed.java instead of direct AddressBase58.encode()
Replace direct AddressBase58.encode() calls in ed25519SeedFromEntropy() and
secp256k1SeedFromEntropy() with SeedCodec.getInstance().encodeSeed(), centralizing
seed encoding logic in SeedCodec to match the existing pattern used for decoding.
Remove now-unused imports (AddressBase58, Lists, UnsignedInteger).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3bda0db commit f6429e5
File tree
1 file changed
+3
-14
lines changed- xrpl4j-core/src/main/java/org/xrpl/xrpl4j/crypto/keys
1 file changed
+3
-14
lines changedLines changed: 3 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
33 | | - | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
| |||
126 | 123 | | |
127 | 124 | | |
128 | 125 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 126 | + | |
134 | 127 | | |
135 | | - | |
| 128 | + | |
136 | 129 | | |
137 | 130 | | |
138 | 131 | | |
| |||
155 | 148 | | |
156 | 149 | | |
157 | 150 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 151 | + | |
163 | 152 | | |
164 | 153 | | |
165 | 154 | | |
| |||
0 commit comments