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).
This commit is contained in:
FrRichard
2015-10-10 19:52:55 +02:00
parent a2406ac163
commit 142187b024

View File

@@ -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