diff --git a/app/modules/ws2p/lib/WS2PCluster.ts b/app/modules/ws2p/lib/WS2PCluster.ts index ff238cbfb131f6f9eacf7e44cf6b9388aed34f0f..6467efd6ce6a4d644a103fd86e3aa31f8253f7dc 100644 --- a/app/modules/ws2p/lib/WS2PCluster.ts +++ b/app/modules/ws2p/lib/WS2PCluster.ts @@ -107,14 +107,17 @@ export class WS2PCluster { if (current) { const myHead = this.sayHeadChangedTo(current.number, current.hash) const blockstamp = [current.number, current.hash].join('-') - this.headsCache[myFullId] = { blockstamp, message: myHead.message,sig: myHead.sig, messageV2: myHead.message, sigV2: myHead.sig } + this.headsCache[myFullId] = { blockstamp, message: myHead.message, sig: myHead.sig, messageV2: myHead.messageV2, sigV2: myHead.sigV2, step:myHead.step } } } for (const ws2pFullId of Object.keys(this.headsCache)) { heads.push({ message: this.headsCache[ws2pFullId].message, - sig: this.headsCache[ws2pFullId].sig + sig: this.headsCache[ws2pFullId].sig, + messageV2: this.headsCache[ws2pFullId].messageV2, + sigV2: this.headsCache[ws2pFullId].sigV2, + step: this.headsCache[ws2pFullId].step }) } return heads