nochowderforyou / clams

Clam Project
MIT License
62 stars 58 forks source link

clamour not being set #325

Open nemetz opened 5 years ago

nemetz commented 5 years ago

Hello!

Working in a web interface for clamour, i found a problem. According to the clamour specifications:

Once a petition has been registered on-chain, anyone can vote for it by staking a block with the CLAMspeech field set to: clamour where is the 8 hex digit petition ID of the petition being supported.

But when the config file have rewardto set, the transaction with the coinbase does not have a clamspeech: only the first transaction, the one sending the clams to the wallet receiving the stake.

This can be found here: http://khashier.com/block/51e71ef3ff9e7c8211fe7886bbc54cbaf3825989f1abe9fbd831cf83da3ac430

the coinbase transaction (http://khashier.com/tx/5d03a0358432b48aafeb21bb1a7a142fe3e4acbc9a852b105e241f5048d69936) does not have the clamspeech set. Only the first transaction (http://khashier.com/tx/0069c9e893d9434b0949e5c5e62901befb5e7ea0adae401a0eaf154e272bbe88), so the votes of anyone with rewardto configured will not be counted