LiskArchive / lisk-sdk

🔩 Lisk software development kit
https://lisk.com
Apache License 2.0
2.72k stars 456 forks source link

Invalid type comparison in register mainchain command #9041

Closed mitsuaki-u closed 1 year ago

mitsuaki-u commented 1 year ago

Expected behavior

In register mainchain command verification currentValidator.bftWeight (bigint) was compared to 0(uint32)

Actual behavior

It should have valid type comparison using bigint

Steps to reproduce

Check verify logic

Which version(s) does this affect? (Environment, OS, etc...)

6.0.0.rc.2