Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Refactor ethcore::client::TransactResult to use it inside std::result::Result#10366

Merged
debris merged 2 commits into
masterfrom
fhc-transact-result
Feb 26, 2019
Merged

Refactor ethcore::client::TransactResult to use it inside std::result::Result#10366
debris merged 2 commits into
masterfrom
fhc-transact-result

Conversation

@elferdo
Copy link
Copy Markdown
Contributor

@elferdo elferdo commented Feb 15, 2019

ethcore::client::TransactResult looks similar to std::result::Result but its functionality is actually not comparable.

This PR separates the Ok and the Err variants of ethcore::client::TransactResult into struct TransactSuccess and struct TransactErr to be used inside the respective variants of std::result::Result.

Fixes: #8755

@elferdo elferdo requested review from cheme and debris February 15, 2019 14:18
@parity-cla-bot
Copy link
Copy Markdown

It looks like @elferdo signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

@5chdn 5chdn modified the milestones: 2.5, 2.6 Feb 21, 2019
@sorpaas sorpaas added A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust. labels Feb 25, 2019
@sorpaas sorpaas self-requested a review February 25, 2019 14:39
@debris debris merged commit 1871275 into master Feb 26, 2019
@debris debris deleted the fhc-transact-result branch February 26, 2019 12:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants