less strict import check for TXP v0
This commit is contained in:
parent
ae08d5611a
commit
7f11793b96
2 changed files with 8 additions and 6 deletions
|
|
@ -45,7 +45,8 @@ TxProposal.fromObj = function(o) {
|
|||
try {
|
||||
t.builder = new Builder.fromObj(o.builderObj);
|
||||
} 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;
|
||||
};
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue