Browse Source

Fixed spelling error in get_bulk_payments RPC call

tags/1.0.0
Peppinux 1 year ago
parent
commit
c71e6ebad9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/dero-wallet-rpc.php

+ 1
- 1
lib/dero-wallet-rpc.php View File

@@ -87,7 +87,7 @@ class DERO_Wallet_RPC {
}

public static function get_bulk_payments($payment_id, $min_block_height = 0) {
$result = self::request('get_bulk_payments', array('payments_ids' => array($payment_id), 'min_block_height' => (int)$min_block_height))['result'];
$result = self::request('get_bulk_payments', array('payment_ids' => array($payment_id), 'min_block_height' => (int)$min_block_height))['result'];
if(empty($result))
return null;
return $result['payments'];


Loading…
Cancel
Save