Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

773 Add PendingTransactions JSON-RPC #1043

Merged
merged 2 commits into from
Mar 5, 2019
Merged

773 Add PendingTransactions JSON-RPC #1043

merged 2 commits into from
Mar 5, 2019

Conversation

EdwinLeeGreene
Copy link
Contributor

Fixed Issue(s)

fixes #773

@CLAassistant
Copy link

CLAassistant commented Mar 5, 2019

CLA assistant check
All committers have signed the CLA.

@@ -248,7 +249,8 @@
new MinerStart(miningCoordinator),
new MinerStop(miningCoordinator),
minerSetCoinbase,
new MinerSetEtherbase(minerSetCoinbase));
new MinerSetEtherbase(minerSetCoinbase),
new TxPoolPendingTransactions(transactionPool.getPendingTransactions()));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is the right place for this. I placed it in the mining section for now.

Copy link
Contributor

@macfarla macfarla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor comment, otherwise LGTM

new JsonRpcSuccessResponse(
request.getId(),
new PendingTransactionsResult(pendingTransactions.getTransactionInfo()));
return jsonRpcSuccessResponse;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simpler to just return new JsonRpcSuccessResponse(...)

@macfarla macfarla merged commit 550e798 into PegaSysEng:master Mar 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants