Skip to content
Snippets Groups Projects
Commit a6c8edbe authored by xiphon's avatar xiphon
Browse files

monero: add optional 'min_height' argument to incomingTransfers RPC

parent 5d217864
No related branches found
No related tags found
No related merge requests found
......@@ -107,9 +107,9 @@ class jsonRPCClient implements Contracts\WalletManager
*
* @return array
*/
public function incomingTransfers() : array
public function incomingTransfers($min_height = 0) : array
{
$response = $this->request('get_transfers', ['pool' => true, 'in' => true]);
$response = $this->request('get_transfers', ['pool' => true, 'in' => true, 'min_height' => $min_height, 'filter_by_height' => $min_height > 0 ? true : false]);
return $response;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment