Update auto-generated bindings to LDK v0.0.99
[ldk-java] / ts / structs / ChannelMonitor.ts
index af5d1cf911b540cbe2c4ccd017680c4a6ccb570b..a937362ba46819f34758304f72a778ab499b0538 100644 (file)
@@ -225,4 +225,11 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret;
        }
 
+       public BestBlock current_best_block() {
+               number ret = bindings.ChannelMonitor_current_best_block(this.ptr);
+               const ret_hu_conv: BestBlock = new BestBlock(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
 }