This repository was archived by the owner on Nov 25, 2025. It is now read-only.
Commit d076d16
committed
Merge #353: Allow warnings to be either a string or a string sequence.
87c95f6 Allow warnings to be either a string or a string sequence. (Arik Sosman)
Pull request description:
In recent versions of bitcoind, `getblockchaininfo` returns a result whose `warnings` key is no longer a string, but an array of strings. This PR allows the parsing of either. Fixes #352.
ACKs for top commit:
tcharding:
ACK 87c95f6
apoelstra:
ACK 87c95f6 also assuming that you tested this against an actual recent node
Tree-SHA512: eccf2efe9ee69f4523cdb49d9b3d314a2a246991dccd3840b377523e38847640ec7ecbfcb6e0469f6b8bf355e51d5870e86402ee574327b0b4668130f3a0e3511 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1004 | 1004 | | |
1005 | 1005 | | |
1006 | 1006 | | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
1007 | 1015 | | |
1008 | 1016 | | |
1009 | 1017 | | |
| |||
1045 | 1053 | | |
1046 | 1054 | | |
1047 | 1055 | | |
1048 | | - | |
1049 | | - | |
| 1056 | + | |
| 1057 | + | |
1050 | 1058 | | |
1051 | 1059 | | |
1052 | 1060 | | |
| |||
0 commit comments