fix staking table changes

This commit is contained in:
donne1226 2022-03-20 11:12:52 +08:00
parent 3327f3a27d
commit 9b70a55220

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
} }