Skip to content

Fix fundrawtransaction handling of includeWatching - #7010

Merged
gmaxwell merged 2 commits into
bitcoin:masterfrom
petertodd:2015-11-fix-fundrawtransaction-bugs
Nov 14, 2015
Merged

gmaxwell merged 2 commits into
bitcoin:masterfrom
petertodd:2015-11-fix-fundrawtransaction-bugs

Conversation

@petertodd

Copy link
Copy Markdown
Contributor

Previously fundrawtransaction w/ includeWatching set to false was treated as thought it was set to true.

Also better error message for empty output case.

Previously if you called fundrawtransaction and set includeWatching to
false it'd act as through you set it to true.
Previously this case failed deep in Cwallet::CreateTransaction() with
the error message "Transaction amounts must be positive"
@kanzure

kanzure commented Nov 13, 2015

Copy link
Copy Markdown
Contributor

ACK.

@TheBlueMatt

Copy link
Copy Markdown
Contributor

ACK

1 similar comment
@btcdrak

btcdrak commented Nov 14, 2015

Copy link
Copy Markdown
Contributor

ACK

@gmaxwell

Copy link
Copy Markdown
Contributor

ACK.

@gmaxwell
gmaxwell merged commit 10953a7 into bitcoin:master Nov 14, 2015
gmaxwell added a commit that referenced this pull request Nov 14, 2015
10953a7 Better error message for fundrawtransaction w/ empty vout (Peter Todd)
61e1eb2 Actually use includeWatching value in fundrawtransaction (Peter Todd)
luke-jr pushed a commit to luke-jr/bitcoin that referenced this pull request Nov 27, 2015
Previously this case failed deep in Cwallet::CreateTransaction() with
the error message "Transaction amounts must be positive"

Github-Pull: bitcoin#7010
Rebased-From: 10953a7
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
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.

6 participants