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

This reverts commit 6fcd27b3ea0f7aa1ef7985560ca917393510c65e.
This commit is contained in:
Christopher Jeffrey 2014-08-06 17:17:01 -07:00 committed by Manuel Araoz
commit 17f3402dab
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