fix Transaction::broadcast. comments.

This commit is contained in:
Christopher Jeffrey 2014-09-25 13:54:20 -07:00
parent 5b19f2993e
commit 2b2d56dfea
2 changed files with 9 additions and 9 deletions

View File

@ -478,8 +478,8 @@ Transaction.broadcast = function(tx, options, callback) {
callback);
};
Transaction.prototype.broadcast = function() {
return Transaction.broadcast(this);
Transaction.prototype.broadcast = function(callback) {
return Transaction.broadcast(this, callback);
};
/**

View File

@ -535,8 +535,8 @@ async_stop_node_after(uv_work_t *req) {
}
/**
* GetBlock(hash, callback)
* bitcoind.getBlock(hash, callback)
* GetBlock
* bitcoind.getBlock(blockHash, callback)
*/
NAN_METHOD(GetBlock) {
@ -629,8 +629,8 @@ async_get_block_after(uv_work_t *req) {
}
/**
* GetTx(hash, callback)
* bitcoind.getTx(hash, callback)
* GetTx
* bitcoind.getTx(txHash, [blockHash], callback)
*/
NAN_METHOD(GetTx) {
@ -748,7 +748,7 @@ async_get_tx_after(uv_work_t *req) {
}
/**
* PollBlocks(callback)
* PollBlocks
* bitcoind.pollBlocks(callback)
*/
@ -849,7 +849,7 @@ async_poll_blocks_after(uv_work_t *req) {
}
/**
* PollMempool(callback)
* PollMempool
* bitcoind.pollMempool(callback)
*/
@ -948,7 +948,7 @@ async_poll_mempool_after(uv_work_t *req) {
}
/**
* BroadcastTx(tx, override_fees, own_only, callback)
* BroadcastTx
* bitcoind.broadcastTx(tx, override_fees, own_only, callback)
*/