Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/hooks/useBCH.js
Show First 20 Lines • Show All 467 Lines • ▼ Show 20 Lines | ) => { | ||||
txInputObj.inputUtxos, | txInputObj.inputUtxos, | ||||
wallet, | wallet, | ||||
); | ); | ||||
txBuilder = txInputObj.txBuilder; // update the local txBuilder with the generated tx inputs | txBuilder = txInputObj.txBuilder; // update the local txBuilder with the generated tx inputs | ||||
// generate the tx outputs and add to txBuilder instance | // generate the tx outputs and add to txBuilder instance | ||||
// returns the updated txBuilder | // returns the updated txBuilder | ||||
const txOutputObj = generateTxOutput( | const txOutputObj = generateTxOutput( | ||||
BCH, | |||||
isOneToMany, | isOneToMany, | ||||
value, | value, | ||||
satoshisToSend, | satoshisToSend, | ||||
txInputObj.totalInputUtxoValue, | txInputObj.totalInputUtxoValue, | ||||
destinationAddress, | destinationAddress, | ||||
destinationAddressAndValueArray, | destinationAddressAndValueArray, | ||||
changeAddress, | changeAddress, | ||||
txInputObj.txFee, | txInputObj.txFee, | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |