Skip to content

Commit

Permalink
Merge pull request #11 from machinefi/data-jwe-sig
Browse files Browse the repository at this point in the history
del signature validate
  • Loading branch information
huangzhiran authored Aug 30, 2024
2 parents 71087f9 + 18ed78d commit a0a957b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/modules/event/event_device_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,10 @@ func (e *DeviceData) Handle(ctx context.Context) (err error) {
// }

e.addr = common.HexToAddress(dev.Address)
if !e.Validate() {
return WrapValidateError(e)
}
// for ioid model, don't need validate signature
// if !e.Validate() {
// return WrapValidateError(e)
// }

switch pkg := e.pkg.(type) {
case *pebblepb.SensorConfig:
Expand Down

0 comments on commit a0a957b

Please sign in to comment.