lib/nano_rpc/node.rb in nano_rpc-0.12.0 vs lib/nano_rpc/node.rb in nano_rpc-0.13.0

- old
+ new

@@ -85,10 +85,12 @@ proxy_method :unchecked_get, required: %i[hash] proxy_method :unchecked_keys, required: %i[key count] proxy_method :version proxy_method :wallet_create proxy_method :work_cancel, required: %i[hash] - proxy_method :work_generate, required: %i[hash] + proxy_method :work_generate, + required: %i[hash], + optional: %i[use_peers] proxy_method :work_peer_add, required: %i[address port] proxy_method :work_peers proxy_method :work_peers_clear proxy_method :work_validate, required: %i[work hash]