mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-02-11 03:06:26 +00:00
Fix typo
This commit is contained in:
parent
eb202cd2a4
commit
bf769478f9
@ -17,9 +17,9 @@ public class PeerId {
|
||||
HashUtil.randomPeerId();
|
||||
}
|
||||
|
||||
public byte nextBit(String startPatern) {
|
||||
public byte nextBit(String startPattern) {
|
||||
|
||||
if (this.toBinaryString().startsWith(startPatern + "1"))
|
||||
if (this.toBinaryString().startsWith(startPattern + "1"))
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user