setup logger arg on userConfig

This commit is contained in:
Michael Bradley, Jr 2018-10-29 14:42:08 +01:00
parent 08c68d068a
commit db55458b62
1 changed files with 1 additions and 0 deletions

View File

@ -461,6 +461,7 @@ var BlockchainClient = function(userConfig, clientName, env, onReadyCallback, on
userConfig.env = env; userConfig.env = env;
userConfig.onReadyCallback = onReadyCallback; userConfig.onReadyCallback = onReadyCallback;
userConfig.onExitCallback = onExitCallback; userConfig.onExitCallback = onExitCallback;
userConfig.logger = logger;
return new Blockchain(userConfig, clientClass); return new Blockchain(userConfig, clientClass);
}; };