mirror of
https://github.com/Xahau/xahau.js.git
synced 2026-06-03 00:36:42 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user