Browse Source
5c85a3d979 Log sendrawtransaction errors as warning not debug (Kristaps Kaupe)
Pull request description:
Before this change `sendrawtransaction` errors in `pushtx()` are logged as debug, not warning. But default `console_log_level` is `INFO`. This is important enough information for the user to change log level here.
Before:
```
Would you like to push to the network? (y/n):y
2020-09-09 23:54:26,199 [ERROR] Transaction broadcast failed!
```
After:
```
Would you like to push to the network? (y/n):y
2020-09-09 23:54:26,198 [WARNING] error pushing = -26 dust (code 64)
2020-09-09 23:54:26,199 [ERROR] Transaction broadcast failed!
```
Somewhat related to #600.
Top commit has no ACKs.
Tree-SHA512: 0148e38ec7ae32156c02db76e52ce26920c2815665ced9b7779c1543adb66beead02b32d8891149f848dcd0bd9ff0b6a9a08c22ebfec55b6ad2ace026e1c9b58
master
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue