Skip to content

VaultWithdraw does not check for insufficient reserves to create a trust line if submitter is also destination account. #5837

@tequdev

Description

@tequdev

if (auto const ter = accountSend(
view(),
vaultAccount,
account_,
sharesCreated,
j_,
WaiveTransferFee::Yes);
!isTesSuccess(ter))
return ter;

accountSend() does not check the reserve, so a check must be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions