Revert "Revert "paypro: prepare for txp refactor. will stay reverted until #1001 is merged.""
This reverts commit 6fcd27b3ea0f7aa1ef7985560ca917393510c65e.
This commit is contained in:
parent
1035adffab
commit
17f3402dab
3 changed files with 16 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue