Update 15_1_getmininginfo.c

This commit is contained in:
Shannon Appelcline 2020-08-04 14:37:16 -10:00 committed by GitHub
parent 8b1a43134e
commit 715abb168c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ int main(void) {
bitcoinrpc_global_init(); bitcoinrpc_global_init();
rpc_client = bitcoinrpc_cl_init_params ("bitcoinrpc", "73bd45ba60ab8f9ff9846b6404769487", "127.0.0.1", 18443); rpc_client = bitcoinrpc_cl_init_params ("StandUp", "YOUR-RPC-PASSWD", "127.0.0.1", 18332);
if (rpc_client) { if (rpc_client) {
getmininginfo = bitcoinrpc_method_init(BITCOINRPC_METHOD_GETMININGINFO); getmininginfo = bitcoinrpc_method_init(BITCOINRPC_METHOD_GETMININGINFO);