mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-11 03:53:22 +02:00
Merge bitcoin/bitcoin#23474: test: scripted-diff cleanups after generate* changes
fac23c2114
scripted-diff: Bump copyright headers (MarcoFalke)fa974f1f14
scripted-diff: Remove redundant sync_all and sync_blocks (MarcoFalke)fad13991ae
test: Properly set sync_fun in NodeNetworkLimitedTest (MarcoFalke)faeff57709
test: Use 4 spaces for indentation (MarcoFalke) Pull request description: Some cleanups after commit94db963de5
ACKs for top commit: fanquake: ACKfac23c2114
Tree-SHA512: 5acfd5bb9679b41969d0fc6fc85801ccadcd6530ea692bac6352668e06fc7a9b0e1db3fd6fba435e84afe983d2eb07bd0a47c8364462bb7110004bd3d102b698
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# Copyright (c) 2017-2020 The Bitcoin Core developers
|
||||
# Copyright (c) 2017-2021 The Bitcoin Core developers
|
||||
# Distributed under the MIT software license, see the accompanying
|
||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
"""Test RPC calls related to net.
|
||||
@@ -81,7 +81,6 @@ class NetTest(BitcoinTestFramework):
|
||||
# Create a few getpeerinfo last_block/last_transaction values.
|
||||
self.wallet.send_self_transfer(from_node=self.nodes[0]) # Make a transaction so we can see it in the getpeerinfo results
|
||||
self.generate(self.nodes[1], 1)
|
||||
self.sync_all()
|
||||
time_now = int(time.time())
|
||||
peer_info = [x.getpeerinfo() for x in self.nodes]
|
||||
# Verify last_block and last_transaction keys/values.
|
||||
|
Reference in New Issue
Block a user