mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-27 07:35:52 +00:00
[TEST] Add chai and sinon for testing.
Begin testing remote.js
Add initialization of 'note variable' and a comment that it should be removed
This commit is contained in:
@@ -1393,6 +1393,8 @@ Remote.prototype.request_unl_add = function (addr, comment, callback) {
|
||||
request.message.node = addr;
|
||||
|
||||
if (comment) {
|
||||
// note is not specified anywhere, should remove?
|
||||
var note = undefined;
|
||||
request.message.comment = note;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user