Merge pull request #90 from donne1226/master

fix staking table changes
This commit is contained in:
ping 2022-03-20 11:19:15 +08:00 committed by GitHub
commit 6c59bb6f60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -318,7 +318,7 @@ export default {
list() { list() {
return this.validators.map(x => { return this.validators.map(x => {
const xh = x const xh = x
const change = this.changes[x.consensus_pubkey.value] const change = this.changes[x.consensus_pubkey.key]
if (change) { if (change) {
xh.changes = change.latest - change.previous xh.changes = change.latest - change.previous
} }