diff --git a/src/BitPaySDK/Model/Invoice/MinerFeesItem.php b/src/BitPaySDK/Model/Invoice/MinerFeesItem.php index b313aa44..474d938d 100644 --- a/src/BitPaySDK/Model/Invoice/MinerFeesItem.php +++ b/src/BitPaySDK/Model/Invoice/MinerFeesItem.php @@ -18,7 +18,7 @@ */ class MinerFeesItem { - protected ?int $satoshisPerByte = null; + protected ?float $satoshisPerByte = null; protected ?int $totalFee = null; protected ?float $fiatAmount = null; @@ -26,12 +26,12 @@ public function __construct() { } - public function getSatoshisPerByte(): ?int + public function getSatoshisPerByte(): ?float { return $this->satoshisPerByte; } - public function setSatoshisPerByte(int $satoshisPerByte): void + public function setSatoshisPerByte(float $satoshisPerByte): void { $this->satoshisPerByte = $satoshisPerByte; }