interledger-deprecated / ilp-core

Core ILP module — handles ledger abstraction and quoting
Other
8 stars 5 forks source link

_sendAndReceiveMessage shouldn't refer to quotes #67

Open vhpoet opened 8 years ago

vhpoet commented 8 years ago

_sendAndReceiveMessage shouldn't refer to quotes; it's more generic than that. The reference to quote_response should be in _getQuote. Also, this introduces a bug: if there's an error, the timeout isn't cleared and the incoming_message listener is never removed.

See this change.