mirror of https://github.com/BTCPrivate/copay.git
fix tests
This commit is contained in:
parent
3aef6e156b
commit
ceada149d7
|
@ -44,12 +44,11 @@ TxProposal.prototype.setSent = function(sentTxid) {
|
|||
TxProposal.fromObj = function(o, forceOpts) {
|
||||
var t = new TxProposal(o);
|
||||
|
||||
try {
|
||||
// force opts is requested.
|
||||
for (var k in forceOpts) {
|
||||
o.builderObj.opts[k] = forceOpts[k];
|
||||
}
|
||||
|
||||
try {
|
||||
t.builder = TransactionBuilder.fromObj(o.builderObj);
|
||||
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in New Issue