mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 20:47:59 -05:00
fixed typos (#429)
Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net> Co-authored-by: CJ Hare <CjHare@users.noreply.github.com>
This commit is contained in:
@@ -55,7 +55,7 @@ public class Address extends DelegatingBytes implements org.hyperledger.besu.plu
|
|||||||
public static Address wrap(final Bytes value) {
|
public static Address wrap(final Bytes value) {
|
||||||
checkArgument(
|
checkArgument(
|
||||||
value.size() == SIZE,
|
value.size() == SIZE,
|
||||||
"An account address must be be %s bytes long, got %s",
|
"An account address must be %s bytes long, got %s",
|
||||||
SIZE,
|
SIZE,
|
||||||
value.size());
|
value.size());
|
||||||
return new Address(value);
|
return new Address(value);
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public class AddressTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void accountAddresHashCode() {
|
public void accountAddressHashCode() {
|
||||||
final Address addr =
|
final Address addr =
|
||||||
Address.wrap(Bytes.fromHexString("0x0000000000000000000000000000000000101010"));
|
Address.wrap(Bytes.fromHexString("0x0000000000000000000000000000000000101010"));
|
||||||
final Address addr2 =
|
final Address addr2 =
|
||||||
|
|||||||
Reference in New Issue
Block a user