mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-20 15:30:36 -04:00
replace BigInteger.valueOf(0) with BigInteger.ZERO
This commit is contained in:
parent
cd89b8bf15
commit
3730773006
34 changed files with 81 additions and 81 deletions
|
@ -353,7 +353,7 @@ public class SignedWitnessServiceTest {
|
|||
when(keyRing.getSignatureKeyPair()).thenReturn(signerKeyPair);
|
||||
|
||||
AccountAgeWitness accountAgeWitness = new AccountAgeWitness(account1DataHash, accountCreationTime);
|
||||
signedWitnessService.signAndPublishAccountAgeWitness(BigInteger.valueOf(0), accountAgeWitness, peerKeyPair.getPublic());
|
||||
signedWitnessService.signAndPublishAccountAgeWitness(BigInteger.ZERO, accountAgeWitness, peerKeyPair.getPublic());
|
||||
|
||||
verify(p2pService, never()).addPersistableNetworkPayload(any(PersistableNetworkPayload.class), anyBoolean());
|
||||
}
|
||||
|
|
|
@ -71,7 +71,7 @@ public class CoinUtilTest {
|
|||
|
||||
try {
|
||||
CoinUtil.getAdjustedAmount(
|
||||
BigInteger.valueOf(0),
|
||||
BigInteger.ZERO,
|
||||
Price.valueOf("USD", 1000_0000),
|
||||
HavenoUtils.xmrToAtomicUnits(0.2).longValueExact(),
|
||||
1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue