mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 13:41:37 +00:00
parent
1eebaa8eac
commit
508ad51a86
1 changed files with 3 additions and 0 deletions
|
@ -912,6 +912,9 @@ func (bc *Blockchain) handleNotification(note *state.NotificationEvent, d *dao.C
|
|||
if !ok {
|
||||
return
|
||||
}
|
||||
if len(bs) > bigint.MaxBytesLen {
|
||||
return // Not a proper number.
|
||||
}
|
||||
amount = bigint.FromBytes(bs)
|
||||
}
|
||||
bc.processNEP17Transfer(d, h, b, note.ScriptHash, from, to, amount)
|
||||
|
|
Loading…
Reference in a new issue