[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / BestBlock.java
index 8857c0458ea45cfc39f6de8fc0eea45fbfe07957..fa485b60437407f3296492ff8570634f45b92b03 100644 (file)
@@ -59,8 +59,8 @@ public class BestBlock extends CommonBase {
         * Constructs a `BestBlock` that represents the genesis block at height 0 of the given
         * network.
         */
-       public static BestBlock from_genesis(org.ldk.enums.Network network) {
-               long ret = bindings.BestBlock_from_genesis(network);
+       public static BestBlock from_network(org.ldk.enums.Network network) {
+               long ret = bindings.BestBlock_from_network(network);
                Reference.reachabilityFence(network);
                if (ret >= 0 && ret <= 4096) { return null; }
                org.ldk.structs.BestBlock ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.BestBlock(null, ret); }