mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-24 09:25:21 +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 {
|
if !ok {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if len(bs) > bigint.MaxBytesLen {
|
||||||
|
return // Not a proper number.
|
||||||
|
}
|
||||||
amount = bigint.FromBytes(bs)
|
amount = bigint.FromBytes(bs)
|
||||||
}
|
}
|
||||||
bc.processNEP17Transfer(d, h, b, note.ScriptHash, from, to, amount)
|
bc.processNEP17Transfer(d, h, b, note.ScriptHash, from, to, amount)
|
||||||
|
|
Loading…
Reference in a new issue