Skip to content

Test gap: no coverage for DripStream::withdraw called immediately after resume() in the same ledger timestamp #228

Description

@Jaydbrown

None of tests/stream_pause_resume.rs's existing tests exercise calling withdraw() in the exact same ledger timestamp as resume() (zero elapsed seconds since resume). Worth a dedicated test asserting the withdrawable amount correctly reflects zero newly-streamed tokens in that instant, to guard against an off-by-one in the elapsed-time math.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions