diff options
| author | Ross Nicoll <[email protected]> | 2021-03-04 10:25:29 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-04 11:25:29 +0100 |
| commit | 8b0dcb523dcda768988f0ed661a70611c3d727b3 (patch) | |
| tree | 92310d01b30ad232f41801c529ab865fcccd07d7 /test/functional/rpc_generateblock.py | |
| parent | Disable compatibility tests (#1754) (diff) | |
| download | discoin-8b0dcb523dcda768988f0ed661a70611c3d727b3.tar.xz discoin-8b0dcb523dcda768988f0ed661a70611c3d727b3.zip | |
1.21 key prefix (#1710)
Squash-merged on request.
* Dogecoin address prefixes
* Use "doge" for BECH32 addresses
* Switch Bitcoin references to Dogecoin in Travis
* Update addresses in dogecoin-tx tests
* Use "doge" for BECH32 addresses
* Remove functional tests which do not apply to Dogecoin (backwards compatibility tests do not have suitable clients to test against)
Diffstat (limited to 'test/functional/rpc_generateblock.py')
| -rwxr-xr-x | test/functional/rpc_generateblock.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/rpc_generateblock.py b/test/functional/rpc_generateblock.py index 08ff0fba5..a4e5655d9 100755 --- a/test/functional/rpc_generateblock.py +++ b/test/functional/rpc_generateblock.py @@ -37,7 +37,7 @@ class GenerateBlockTest(BitcoinTestFramework): self.log.info('Generate an empty block to a combo descriptor with compressed pubkey') combo_key = '0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' - combo_address = 'bcrt1qw508d6qejxtdg4y5r3zarvary0c5xw7kygt080' + combo_address = 'dcrt1qw508d6qejxtdg4y5r3zarvary0c5xw7kpy24h3' hash = node.generateblock('combo(' + combo_key + ')', [])['hash'] block = node.getblock(hash, 2) assert_equal(len(block['tx']), 1) @@ -45,7 +45,7 @@ class GenerateBlockTest(BitcoinTestFramework): self.log.info('Generate an empty block to a combo descriptor with uncompressed pubkey') combo_key = '0408ef68c46d20596cc3f6ddf7c8794f71913add807f1dc55949fa805d764d191c0b7ce6894c126fce0babc6663042f3dde9b0cf76467ea315514e5a6731149c67' - combo_address = 'mkc9STceoCcjoXEXe6cm66iJbmjM6zR9B2' + combo_address = 'nZHMQgDEDZYVSPWhgwHQ4MFsrnFEaUT2gT' hash = node.generateblock('combo(' + combo_key + ')', [])['hash'] block = node.getblock(hash, 2) assert_equal(len(block['tx']), 1) |