Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

New test to ensure require_recipient to generator is ignored #5446

Merged
merged 3 commits into from
Aug 29, 2018

Conversation

heifner
Copy link
Contributor

@heifner heifner commented Aug 27, 2018

  • New unittest to ensure require_recipient to the generator of notify is ignored.

produce_blocks(1);

// test require_notice
auto scope = std::vector<account_name>{N(testapi)};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually used?


// test require_notice
auto scope = std::vector<account_name>{N(testapi)};
auto test_require_notice = [this](auto& test, std::vector<account_name>& scope){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the lambda actually get you anything here? If not simplify it and just make it part of the method.

@heifner heifner merged commit b1b9d1a into develop Aug 29, 2018
@heifner heifner deleted the require-recipient-test branch August 29, 2018 18:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants