mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
HDUtils: less insistence on immutable params
This commit is contained in:
parent
1b92abe294
commit
9f8e09c5b4
@ -67,7 +67,7 @@ public final class HDUtils {
|
||||
return bytes;
|
||||
}
|
||||
|
||||
public static ImmutableList<ChildNumber> append(ImmutableList<ChildNumber> path, ChildNumber childNumber) {
|
||||
public static ImmutableList<ChildNumber> append(List<ChildNumber> path, ChildNumber childNumber) {
|
||||
return ImmutableList.<ChildNumber>builder().addAll(path).add(childNumber).build();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user