Make send_packet
method as private
#1243
Labels
A: blocked
Admin: blocked by another (internal/external) issue or PR
A: critical
Admin: critical or Important
Bug Summary
The
send_packet
method is public which can be used to send packets without token transfers. But usingsend_packet
, a transfer packet can be spoofed without locking the tokens. So essentially, users can just callsend_packet
and get tokens on destination without token transfer on source.Details
The
send_packet
method here should prolly be private or be removed once we have port management which will enable us to just usesend_transfer
with different port for cross chain messaging.ibc-rs/ibc-core/ics04-channel/src/handler/send_packet.rs
Line 20 in dcf8c36
Version
0.50.0
The text was updated successfully, but these errors were encountered: