Remove duplicate data.

This commit is contained in:
Jean-Baptiste Dominguez 2018-09-04 13:37:31 +09:00
commit 2a017bc999

View file

@ -59,7 +59,6 @@ angular
// Init thirdParty // Init thirdParty
var thirdPartyData = { var thirdPartyData = {
id: 'bip70', id: 'bip70',
amount: payProData.amount,
caTrusted: true, caTrusted: true,
name: name, name: name,
domain: payProData.domain, domain: payProData.domain,
@ -69,14 +68,13 @@ angular
requiredFeeRate: payProData.requiredFeeRate, requiredFeeRate: payProData.requiredFeeRate,
selfSigned: 0, selfSigned: 0,
time: payProData.time, time: payProData.time,
toAddress: payProData.toAddress,
url: payProData.url, url: payProData.url,
verified: true verified: true
}; };
// Fill in params // Fill in params
params.amount = thirdPartyData.amount, params.amount = payProData.amount,
params.toAddress = thirdPartyData.toAddress, params.toAddress = payProData.toAddress,
params.coin = coin, params.coin = coin,
params.thirdParty = thirdPartyData params.thirdParty = thirdPartyData
} }