mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 12:45:50 +00:00
[DOC] add doc that accountRequest throws
if a marker is provided, but no ledger_index or ledger_hash
This commit is contained in:
@@ -1217,6 +1217,7 @@ Remote.prototype.requestTx = function(hash, callback) {
|
|||||||
* @param {String} marker - start position in response paging
|
* @param {String} marker - start position in response paging
|
||||||
* @param [Function] callback
|
* @param [Function] callback
|
||||||
* @return {Request}
|
* @return {Request}
|
||||||
|
* @throws {Error} if a marker is provided, but no ledger_index or ledger_hash
|
||||||
*/
|
*/
|
||||||
Remote.accountRequest = function(type, options, callback) {
|
Remote.accountRequest = function(type, options, callback) {
|
||||||
var account, ledger, peer, limit, marker;
|
var account, ledger, peer, limit, marker;
|
||||||
|
|||||||
Reference in New Issue
Block a user