Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
fix notifyScanLogin
Browse files Browse the repository at this point in the history
  • Loading branch information
lyddream committed Nov 8, 2018
1 parent 97518b0 commit 6cff4a6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/loopring.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/loopring.min.js.map

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions lib/relay/rpc/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ var _getAllEstimatedAllocatedAmount = function () {
};
}();

var notifyScanLogin = exports.notifyScanLogin = function () {
var _notifyScanLogin = function () {
var _ref6 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(host, content) {
var _content$sign, owner, r, s, v, body;

Expand Down Expand Up @@ -186,7 +186,7 @@ var notifyScanLogin = exports.notifyScanLogin = function () {
}, _callee4, this, [[0, 14]]);
}));

return function notifyScanLogin(_x6, _x7) {
return function _notifyScanLogin(_x6, _x7) {
return _ref6.apply(this, arguments);
};
}();
Expand Down Expand Up @@ -320,7 +320,7 @@ var Account = function () {
}, {
key: 'notifyScanLogin',
value: function notifyScanLogin(content) {
return _notifyCircular(this.host, content);
return _notifyScanLogin(this.host, content);
}
}, {
key: 'notifyCircular',
Expand Down Expand Up @@ -595,4 +595,5 @@ function _getPendingRawTxByHash(host, txHash) {
exports.getGasPrice = _getGasPrice;
exports.getNonce = _getNonce;
exports.getAllEstimatedAllocatedAmount = _getAllEstimatedAllocatedAmount;
exports.notifyScanLogin = _notifyScanLogin;
exports.notifyCircular = _notifyCircular;
2 changes: 1 addition & 1 deletion src/relay/rpc/account.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class Account

notifyScanLogin (content)
{
return notifyCircular(this.host, content);
return notifyScanLogin(this.host, content);
}

notifyCircular (content)
Expand Down

0 comments on commit 6cff4a6

Please sign in to comment.