Fix a signed/unsigned warning I accidentally introduced.
Configure chain params when using the command line RPC tool as well.