add wallet_unused_address call required for rewards (#71)
This commit is contained in:
parent
31f7afa8a3
commit
f85653e140
2 changed files with 16 additions and 12 deletions
21
dist/bundle.js
vendored
21
dist/bundle.js
vendored
|
@ -2166,10 +2166,20 @@ Lbry.wallet_balance = function () {
|
||||||
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||||
return daemonCallWithResult('wallet_balance', params);
|
return daemonCallWithResult('wallet_balance', params);
|
||||||
};
|
};
|
||||||
|
Lbry.wallet_decrypt = function () {
|
||||||
|
return daemonCallWithResult('wallet_decrypt', {});
|
||||||
|
};
|
||||||
|
Lbry.wallet_encrypt = function () {
|
||||||
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||||
|
return daemonCallWithResult('wallet_encrypt', params);
|
||||||
|
};
|
||||||
Lbry.wallet_is_address_mine = function () {
|
Lbry.wallet_is_address_mine = function () {
|
||||||
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||||
return daemonCallWithResult('wallet_is_address_mine', params);
|
return daemonCallWithResult('wallet_is_address_mine', params);
|
||||||
};
|
};
|
||||||
|
Lbry.wallet_lock = function () {
|
||||||
|
return daemonCallWithResult('wallet_lock', {});
|
||||||
|
};
|
||||||
Lbry.wallet_new_address = function () {
|
Lbry.wallet_new_address = function () {
|
||||||
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||||
return daemonCallWithResult('wallet_new_address', params);
|
return daemonCallWithResult('wallet_new_address', params);
|
||||||
|
@ -2178,19 +2188,12 @@ Lbry.wallet_send = function () {
|
||||||
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||||
return daemonCallWithResult('wallet_send', params);
|
return daemonCallWithResult('wallet_send', params);
|
||||||
};
|
};
|
||||||
Lbry.wallet_encrypt = function () {
|
|
||||||
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
||||||
return daemonCallWithResult('wallet_encrypt', params);
|
|
||||||
};
|
|
||||||
Lbry.wallet_decrypt = function () {
|
|
||||||
return daemonCallWithResult('wallet_decrypt', {});
|
|
||||||
};
|
|
||||||
Lbry.wallet_unlock = function () {
|
Lbry.wallet_unlock = function () {
|
||||||
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||||
return daemonCallWithResult('wallet_unlock', params);
|
return daemonCallWithResult('wallet_unlock', params);
|
||||||
};
|
};
|
||||||
Lbry.wallet_lock = function () {
|
Lbry.wallet_unused_address = function () {
|
||||||
return daemonCallWithResult('wallet_lock', {});
|
return daemonCallWithResult('wallet_unused_address', {});
|
||||||
};
|
};
|
||||||
|
|
||||||
// transactions
|
// transactions
|
||||||
|
|
|
@ -76,14 +76,15 @@ Lbry.claim_list_by_channel = (params = {}) => daemonCallWithResult('claim_list_b
|
||||||
|
|
||||||
// wallet
|
// wallet
|
||||||
Lbry.wallet_balance = (params = {}) => daemonCallWithResult('wallet_balance', params);
|
Lbry.wallet_balance = (params = {}) => daemonCallWithResult('wallet_balance', params);
|
||||||
|
Lbry.wallet_decrypt = () => daemonCallWithResult('wallet_decrypt', {});
|
||||||
|
Lbry.wallet_encrypt = (params = {}) => daemonCallWithResult('wallet_encrypt', params);
|
||||||
Lbry.wallet_is_address_mine = (params = {}) =>
|
Lbry.wallet_is_address_mine = (params = {}) =>
|
||||||
daemonCallWithResult('wallet_is_address_mine', params);
|
daemonCallWithResult('wallet_is_address_mine', params);
|
||||||
|
Lbry.wallet_lock = () => daemonCallWithResult('wallet_lock', {});
|
||||||
Lbry.wallet_new_address = (params = {}) => daemonCallWithResult('wallet_new_address', params);
|
Lbry.wallet_new_address = (params = {}) => daemonCallWithResult('wallet_new_address', params);
|
||||||
Lbry.wallet_send = (params = {}) => daemonCallWithResult('wallet_send', params);
|
Lbry.wallet_send = (params = {}) => daemonCallWithResult('wallet_send', params);
|
||||||
Lbry.wallet_encrypt = (params = {}) => daemonCallWithResult('wallet_encrypt', params);
|
|
||||||
Lbry.wallet_decrypt = () => daemonCallWithResult('wallet_decrypt', {});
|
|
||||||
Lbry.wallet_unlock = (params = {}) => daemonCallWithResult('wallet_unlock', params);
|
Lbry.wallet_unlock = (params = {}) => daemonCallWithResult('wallet_unlock', params);
|
||||||
Lbry.wallet_lock = () => daemonCallWithResult('wallet_lock', {});
|
Lbry.wallet_unused_address = () => daemonCallWithResult('wallet_unused_address', {});
|
||||||
|
|
||||||
// transactions
|
// transactions
|
||||||
Lbry.transaction_list = (params = {}) => daemonCallWithResult('transaction_list', params);
|
Lbry.transaction_list = (params = {}) => daemonCallWithResult('transaction_list', params);
|
||||||
|
|
Loading…
Reference in a new issue