Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ledger/prefix asserts; getInfo().connectors #7

Merged
merged 1 commit into from
Sep 23, 2016

Conversation

sentientwaffle
Copy link
Contributor

@@ -53,13 +54,13 @@ describe('Plugin transfers (universal)', function () {

this.pluginA.once('outgoing_fulfill', (transfer) => {
assert.equal(transfer.id, id)
assert.equal(transfer.ledger, 'test.nerd.')
assert.equal(transfer.ledger, this.pluginA.prefix)
Copy link
Contributor

Choose a reason for hiding this comment

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

How come this is .prefix and not .getPrefix()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, you're right

@@ -41,31 +41,15 @@ describe('Plugin transfers (optimistic)', function () {
assert.isFunction(this.pluginA.send)
})

it('should send an optimistic transfer with 0 amount', function (done) {
Copy link
Contributor

Choose a reason for hiding this comment

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

https://github.com/interledger/rfcs/blob/master/0004-ledger-plugin-interface/0004-ledger-plugin-interface.md#ledger-transfers says that "all plugins MUST implement 0-amount transfers." It does seem impractical for now though. maybe skip this instead of deleting it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

0-amount transfers are going to be removed in favor of sendMessage() (see interledger/rfcs#96).

@sharafian
Copy link
Contributor

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants