From 142187b02444dc1712f277f8a5ae4a09a04ce7ed Mon Sep 17 00:00:00 2001 From: FrRichard Date: Sat, 10 Oct 2015 19:52:55 +0200 Subject: [PATCH] Update REFERENCE.md Changed the way you are setting the request callback. Previous documentation didn't work, ie, the callback was never called (probably old way to set the callback). --- docs/REFERENCE.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/REFERENCE.md b/docs/REFERENCE.md index a659b7ed..fcc98c6e 100644 --- a/docs/REFERENCE.md +++ b/docs/REFERENCE.md @@ -242,11 +242,10 @@ var options = { limit: < limit > }; -var request = remote.requestBookOffers(options); - -request.request(function(err, offers) { - //handle offers +var request = remote.requestBookOffers(options, function(err, offers) { + // handle offers }); + ``` ##Transaction requests