hide xpriv in certain cases in the log

This commit is contained in:
Matias Alejo Garcia 2017-10-02 11:19:03 -03:00
commit acb0d176f2
3 changed files with 7 additions and 5 deletions

View file

@ -34,6 +34,7 @@ angular.module('copayApp.services')
};
root.add = function(level, msg) {
msg = msg.replace('/xpriv.*/', 'xpriv[Hidden]');
logs.push({
timestamp: new Date().toISOString(),
level: level,