Skip to content

Commit

Permalink
⚡ 代码格式化
Browse files Browse the repository at this point in the history
  • Loading branch information
lingting committed Jan 13, 2021
1 parent 99b6cf0 commit 12ea62d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/live/lingting/virtual/currency/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public Account(String address, String publicKey, String privateKey) {
* 请注意多签账号公私钥顺序, 顺序不正确可能导致交易广播失败
* @author lingting 2021-01-12 17:13
*/
public Account(String address,int multiNum, List<String> publicKeyArray, List<String> privateKeyArray) {
public Account(String address, int multiNum, List<String> publicKeyArray, List<String> privateKeyArray) {
this.address = address;
this.multi = true;
this.multiNum = multiNum;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public static FeeAndSpent of(PlatformService service, Contract contract, Transfe
}
// 小于
else {
throw new VirtualCurrencyException("余额不足 "+ coin.add(amount).toPlainString());
throw new VirtualCurrencyException("余额不足 " + coin.add(amount).toPlainString());
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ public void btc() {
// TransferResult transfer = service.transfer(ac1, a6, OmniContract.BTC, value);
// TransferResult transfer = service.transfer(ac5, a1, OmniContract.BTC, value);
// TransferResult transfer = service.transfer(ac7, a3, OmniContract.BTC, value);
TransferResult transfer = service.transfer(ac1, ac9.getAddress(),
OmniContract.BTC, value);
//TransferResult transfer = service.transfer(ac8, ac9.getAddress(), OmniContract.BTC, value);
//TransferResult transfer = service.transfer(ac9, a3, OmniContract.BTC, value);
TransferResult transfer = service.transfer(ac1, ac9.getAddress(), OmniContract.BTC, value);
// TransferResult transfer = service.transfer(ac8, ac9.getAddress(),
// OmniContract.BTC, value);
// TransferResult transfer = service.transfer(ac9, a3, OmniContract.BTC, value);

if (!transfer.getSuccess()) {
System.out.println("转账失败: " + JsonUtil.toJson(transfer));
Expand Down

0 comments on commit 12ea62d

Please sign in to comment.