Age | Commit message (Collapse) | Author |
|
add missing parentheses `TestShell.method` should be `TestShell().method`.
|
|
Tackles two issues in the TestShell documentation:
- add missing instruction for creating a wallet prior to the
`getnewaddress` call (needed as there is no default wallet created
anymore since v0.21)
- fix `generatetoaddress` call syntax (the scripted-diff in commit
fa0b916971e5bc23ad6396831940a2899ca05402 only worked for tests using
`BitcoinTestFramework`)
|
|
-BEGIN VERIFY SCRIPT-
sed --regexp-extended -i \
's/((self\.)?(nodes\[[^]]+\]|[a-z_]*(wallet|node)[0-9a-z_]*))\.(generate(|toaddress|block|todescriptor)(\(|, ))/self.\5\1, /g' \
$(git grep -l generate ./test | grep -v 'test_framework/' | grep -v 'feature_rbf')
-END VERIFY SCRIPT-
|
|
|
|
This allows user to chain setup() to the initializer. test-shell.md code
examples have been updated to reflect this.
|
|
|
|
|