annotate api functions with types

This commit is contained in:
Ivan Tivonenko
2015-08-06 02:23:05 +03:00
parent 5ac1bcc414
commit 5cb63a258c
8 changed files with 272 additions and 32 deletions

View File

@@ -228,7 +228,7 @@ module.exports = function(request, options={}) {
marker: marker === undefined ? undefined : String(marker),
transactions: [
{
ledger_index: 348860 - Number(marker),
ledger_index: 348860 - Number(marker || 100),
tx_blob: SerializedObject.from_json(tx).to_hex(),
meta: SerializedObject.from_json(meta).to_hex(),
validated: options.validated