Skip to content

Commit

Permalink
Update TransactionBuilder.js
Browse files Browse the repository at this point in the history
Updated to maintain reference UI compatibility
  • Loading branch information
grctest committed Nov 4, 2024
1 parent 4f41a73 commit a334b25
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions lib/chain/src/TransactionBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,14 +422,10 @@ class TransactionBuilder {
if (isProposal(op)) {
op[1].proposed_ops.forEach(proposal => {
proposed_ops.push(proposal);
if (
proposalFeeAssets.indexOf(
proposal.op[1].fee.asset_id
) === -1
) {
proposalFeeAssets.push(
proposal.op[1].fee.asset_id
);
const _feeID = proposal.op[1].fee.asset_id;
if (proposalFeeAssets.indexOf(_feeID) === -1) {
const formattedFeeID = _feeID.includes("1.3.") ? _feeID : `1.3.${_feeID}`;
proposalFeeAssets.push(formattedFeeID);
}
});
}
Expand Down

0 comments on commit a334b25

Please sign in to comment.