You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Just an artificial rule for data construction, it can be anything, and in Neo X
58
58
// it will be decrypted transactions fragments.
59
-
pre.data=pre.base.Index
59
+
pre.data=pre.Index
60
60
returnnil
61
61
}
62
62
63
63
func (pre*preBlock) Verify(_ dbft.PublicKey, data []byte) error {
64
64
iflen(data) !=4 {
65
65
returnerrors.New("invalid data len")
66
66
}
67
-
ifbinary.BigEndian.Uint32(data) !=pre.base.Index { // Just an artificial verification rule, and for NeoX it should be decrypted transactions fragments verification.
67
+
ifbinary.BigEndian.Uint32(data) !=pre.Index { // Just an artificial verification rule, and for NeoX it should be decrypted transactions fragments verification.
0 commit comments