Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize and Clean up WalletRpcTest #1511

Merged

Conversation

benthecarman
Copy link
Collaborator

be able to import an address would sometimes fail because the receiver would not have seen the block yet, now if it hasn't seen it we will publish the block from that client as well.

@benthecarman benthecarman added bitcoind-rpc work for the bitcoind rpc project tests labels Jun 4, 2020
@@ -357,9 +357,13 @@ class WalletRpcTest extends BitcoindRpcTest {
}

it should "be able to import an address" in {

val address = Bech32Address
Copy link
Contributor

Choose a reason for hiding this comment

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

Why have this hard coded?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

So we don't need to fetch an address from one of the clients, one less thing that can fail

@Christewart Christewart merged commit b621412 into bitcoin-s:master Jun 8, 2020
@benthecarman benthecarman deleted the tests-wallet-rpc-test-opt branch June 8, 2020 19:13
Christewart pushed a commit that referenced this pull request May 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bitcoind-rpc work for the bitcoind rpc project tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants