File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public class Config {
3434 /**
3535 * BitPay Plugin Info Version.
3636 */
37- public static final String BITPAY_PLUGIN_INFO = "BitPay_Java_Client_v10.0.1 " ;
37+ public static final String BITPAY_PLUGIN_INFO = "BitPay_Java_Client_v10.0.2 " ;
3838 /**
3939 * BitPay Api Frame.
4040 */
Original file line number Diff line number Diff line change 1717@ JsonIgnoreProperties (ignoreUnknown = true )
1818public class MinerFeesItem {
1919
20- protected Integer satoshisPerByte ;
20+ protected Double satoshisPerByte ;
2121 protected Integer totalFee ;
2222 protected Double fiatAmount ;
2323
@@ -33,7 +33,7 @@ public MinerFeesItem() {
3333 * @return the satoshis per byte
3434 */
3535 @ JsonIgnore
36- public Integer getSatoshisPerByte () {
36+ public Double getSatoshisPerByte () {
3737 return this .satoshisPerByte ;
3838 }
3939
@@ -43,7 +43,7 @@ public Integer getSatoshisPerByte() {
4343 * @param satoshisPerByte the satoshis per byte
4444 */
4545 @ JsonProperty ("satoshisPerByte" )
46- public void setSatoshisPerByte (Integer satoshisPerByte ) {
46+ public void setSatoshisPerByte (Double satoshisPerByte ) {
4747 this .satoshisPerByte = satoshisPerByte ;
4848 }
4949
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public void it_should_returns_bitpay_api_version() {
5858
5959 @ Test
6060 public void it_should_returns_bitpay_plugin_info () {
61- Assertions .assertTrue (Config .BITPAY_PLUGIN_INFO .contains ("BitPay_Java_Client_v10.0.1 " ));
61+ Assertions .assertTrue (Config .BITPAY_PLUGIN_INFO .contains ("BitPay_Java_Client_v10.0.2 " ));
6262 }
6363
6464 @ Test
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class MinerFeesItemTest {
1313 @ Test
1414 public void it_should_manipulate_satoshisPerByte () {
1515 // given
16- Integer expected = 765 ;
16+ Double expected = 765.1 ;
1717 MinerFeesItem testedClass = this .getTestedClass ();
1818
1919 // when
You can’t perform that action at this time.
0 commit comments