Concordium / concordium-reference-wallet-android

Reference Android wallet for the Concordium blockchain
Apache License 2.0
12 stars 2 forks source link

Validation condition is missing - update to pool that is "Closed for new" #175

Closed mh-concordium closed 2 years ago

mh-concordium commented 2 years ago

Bug Description It is possible to submit transaction that would move delegation stake from a pool to pool that has setting set to "Closed for new".

Steps to Reproduce Delegate to Passive Delegation. Update delegation -> move delegation stake from Passive Delegation to a pool that is "Closed for new".

Expected Result Validation should show that pool is closed and user should not be able to submit transaction.

Actual Result User can submit transaction. Transaction is rejected and user looses CCDs in amount of the transaction fee.

Versions