|
|
@ -682,7 +682,7 @@ export type ChainPadServer_ChannelInternal_t = {
|
|
|
|
var getChannel = function (
|
|
|
|
var getChannel = function (
|
|
|
|
env,
|
|
|
|
env,
|
|
|
|
id,
|
|
|
|
id,
|
|
|
|
callback /*:(err:?Error, chan:?ChainPadServer_ChannelInternal_t)=>void*/
|
|
|
|
_callback /*:(err:?Error, chan:?ChainPadServer_ChannelInternal_t)=>void*/
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
var callback = Util.once(Util.mkAsync(_callback));
|
|
|
|
var callback = Util.once(Util.mkAsync(_callback));
|
|
|
|
if (env.channels[id]) {
|
|
|
|
if (env.channels[id]) {
|
|
|
|