X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FBestBlock.ts;h=439ba0e0365326c4e9bef55bd55bed5ed6f9335c;hb=refs%2Fheads%2Fmain-test;hp=a0372035f311542530484f036ea65d341ecf0231;hpb=a77a2856c7cd010a7b478cce793f7c9f999284d8;p=ldk-java diff --git a/ts/structs/BestBlock.ts b/ts/structs/BestBlock.ts index a0372035..439ba0e0 100644 --- a/ts/structs/BestBlock.ts +++ b/ts/structs/BestBlock.ts @@ -25,7 +25,7 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } - public static BestBlock constructor_from_genesis(LDKNetwork network) { + public static BestBlock constructor_from_genesis(Network network) { number ret = bindings.BestBlock_from_genesis(network); const ret_hu_conv: BestBlock = new BestBlock(null, ret); ret_hu_conv.ptrs_to.add(ret_hu_conv);