paypro: prepare for txp refactor. will stay reverted until #1001 is merged.

This commit is contained in:
Christopher Jeffrey 2014-08-06 11:50:49 -07:00 committed by Manuel Araoz
commit 3ade672561
3 changed files with 16 additions and 19 deletions

View file

@ -63,7 +63,7 @@ angular.module('copayApp.controllers').controller('SendController',
function done(ntxid, merchantData) {
if (merchantData && +merchantData.total === 0) {
var txp = w.txProposals.txps[ntxid];
var txp = w.txProposals.get(ntxid);
txp.builder.tx.outs[0].v = bitcore.Bignum(amount + '', 10).toBuffer({
endian: 'little',
size: 1