mirror of https://github.com/BTCPrivate/copay.git
less strict import check for TXP v0
This commit is contained in:
parent
ae08d5611a
commit
7f11793b96
|
@ -45,7 +45,8 @@ TxProposal.fromObj = function(o) {
|
||||||
try {
|
try {
|
||||||
t.builder = new Builder.fromObj(o.builderObj);
|
t.builder = new Builder.fromObj(o.builderObj);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('Ignoring incompatible stored TxProposal:' + JSON.stringify(o.builderObj));
|
if (!process.version)
|
||||||
|
console.log('Ignoring incompatible stored TxProposal:' + JSON.stringify(o.builderObj));
|
||||||
}
|
}
|
||||||
return t;
|
return t;
|
||||||
};
|
};
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue