Skip to content

Conversation

maraoz
Copy link
Contributor

@maraoz maraoz commented May 15, 2015

This PR adds a clearOutputs() method for Transaction that removes all outputs.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) to 97.79% when pulling 1873c53 on maraoz:transaction/clearOutputs into 5fe53ac on bitpay:master.

Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this also call this._updateChangeOutput()? Otherwise all the inputs will be miner's fee.

@maraoz maraoz force-pushed the transaction/clearOutputs branch from 1873c53 to 8a13a22 Compare May 15, 2015 18:29
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0%) to 97.79% when pulling 8a13a22 on maraoz:transaction/clearOutputs into 5fe53ac on bitpay:master.

@maraoz
Copy link
Contributor Author

maraoz commented May 16, 2015

updated

@braydonf
Copy link
Contributor

LGTM

@pnagurny
Copy link
Contributor

ACK

braydonf pushed a commit that referenced this pull request May 18, 2015
@braydonf braydonf merged commit b53f249 into bitpay:master May 18, 2015
@maraoz
Copy link
Contributor Author

maraoz commented May 19, 2015

Yay!

On Mon, May 18, 2015, 17:24 Braydon Fuller notifications@github.com wrote:

Merged #1235 #1235.

Reply to this email directly or view it on GitHub
#1235 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants