Lonami / grammers

(tele)gramme.rs - use Telegram's API from Rust
https://t.me/gramme_rs
Apache License 2.0
535 stars 103 forks source link

fix "attempt to subtract with overflow" #244

Closed MaxVerevkin closed 3 months ago

MaxVerevkin commented 3 months ago
thread 'main' panicked at /home/maxv/rust/grammers/lib/grammers-mtproto/src/mtp/encrypted.rs:1205:48:
attempt to subtract with overflow
Lonami commented 3 months ago

CI errors is unrelated; you can rebase from master to solve it.