CounterpartyXCP / counterwallet

Counterparty web wallet
https://counterwallet.io
147 stars 163 forks source link

Incorrect pending action for free numeric tokens #706

Closed digital-dreamer closed 9 years ago

digital-dreamer commented 9 years ago

When you create a token with a free numeric name, and you are waiting for block confirmation, the creation will be shown in pending actions as “Pending change of description for token ...”, even though the Token doesn't have any description. Observed on the develop branch.

Cause: PendingActionViewModel.calcText in feed_panding_actions.js selects a wrong message (pend_or_unconf_change_desc instead of pend_or_unconf_issuance).

digital-dreamer commented 9 years ago

Update: this minor issue is probably not limited to free numeric names, but it only occurs when the initial quantity is zero.