From: boomyl <563807243@qq.com> Date: Fri, 30 Apr 2021 07:39:25 +0000 (+0800) Subject: fix vote hash with state (#1929) X-Git-Tag: 2.0.0-alpha^0 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e63faee5d48e89176038f3b58b0b668f3b4c1230;p=bytom%2Fbytom.git fix vote hash with state (#1929) --- diff --git a/protocol/bc/vote_output.go b/protocol/bc/vote_output.go index ede15653..793ee86c 100644 --- a/protocol/bc/vote_output.go +++ b/protocol/bc/vote_output.go @@ -7,6 +7,7 @@ func (o *VoteOutput) writeForHash(w io.Writer) { mustWriteForHash(w, o.Source) mustWriteForHash(w, o.ControlProgram) mustWriteForHash(w, o.Vote) + mustWriteForHash(w, o.StateData) } // NewCrossChainOutput creates a new CrossChainOutput.