whoisjeremylam / enu

Enu API server application
0 stars 0 forks source link

CreateAsset, CreateSend, CreateDividend should use requestId #34

Closed whoisjeremylam closed 9 years ago

whoisjeremylam commented 9 years ago

Rather than generating a different paymentId or dividendId, use the requestId in the context. The requestId can be stored in the paymentId/dividendId/assetId column in the database.

bbaas1 commented 9 years ago

assetId = requestId; we want to keep these two separate ( as if you do events on these assets later; eg update some data we want to retain the requestId separate from the key of the asset)