ElementsProject / ElementsProject/elements

Seemingly useless assignment in reissueasset_base()

Open
#821 0 comments 0 reactions 0 assignees View on GitHub
great for new contributors
Dominant language
C++
Stars
1.2k
Forks
416
Avg merge
1d 23h
Merged PRs (30d)
15

Description

https://github.com/ElementsProject/elements/blob/e5ab941489c564cd78845658b8e8688dc56817f5/src/rpc/rawtransaction.cpp#L2896-L2912

the assignment
```
mtx.vin[issuance_input_index].assetIssuance.nAmount = asset_amount;
```
at line 2912 is the same as the assignment at line 2898
neither `asset_amount` nor `assetIssuance.nAmount` seem to be modified between the lines.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.