fix tests

This commit is contained in:
Matias Alejo Garcia 2014-07-25 17:48:35 -03:00
parent 3aef6e156b
commit ceada149d7
1 changed files with 4 additions and 5 deletions

View File

@ -44,12 +44,11 @@ TxProposal.prototype.setSent = function(sentTxid) {
TxProposal.fromObj = function(o, forceOpts) {
var t = new TxProposal(o);
// force opts is requested.
for (var k in forceOpts) {
o.builderObj.opts[k] = forceOpts[k];
}
try {
// force opts is requested.
for (var k in forceOpts) {
o.builderObj.opts[k] = forceOpts[k];
}
t.builder = TransactionBuilder.fromObj(o.builderObj);
} catch (e) {