FindoraNetwork / platform

Official Implementation of Findora Network.
https://findora.org
Other
72 stars 29 forks source link

Fix failure for DefineAsset and IssueAsset operation sent in same txn #1022

Closed harshadptl closed 1 year ago

harshadptl commented 1 year ago

The DefineAsset Operation has the raw asset code whereas IssueAsset Operation has the derived asset code.

Currently if both the operations are sent in the same txn for a new asset it fails because the Asset code don't match. This is fixed by comparing the derived asset code from newly defined assets in the txn.

weikengchen commented 1 year ago

Approve but pending for the CI.