Skip to content

[v4] clear warning about sync  #36

Description

@ChefMist

after this is merged: https://github.com/pancakeswap/pancake-v4-core/pull/165

if a user does this:

  • vault.sync(token1)
  • transfer token1 to vault
  • forget to call vault.settle(token1) but call vault.sync(token2)

then whatever token sent to vault might be lost if transaction didn't revert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions