|
|
|
@ -61,8 +61,8 @@ public class BtcWalletServiceImpl<psvm> implements BtcWalletService { |
|
|
|
|
//btc钱包地址长度为35位 uuid为36位
|
|
|
|
|
address = UUID.randomUUID().toString().substring(1); |
|
|
|
|
String privateKey = "MEMlDf3GEMAKXxVi9XxJ6DCjJSKYoZXezMqeIWekcg455DJDCZhIPYbkiRKEy06T7iMaZVj3PPky+xmr7S32hwvRS2ANJ+OD/s5FODwmg5n2N3bhpLeRjqPvhFj3CCOXP01mBAodGUwJTDLy4UaZCOVr7dd9EAU33Xj37+OPcng="; |
|
|
|
|
btcAddressSetRedisUtils.insert(address); |
|
|
|
|
btcWalletKeyService.insertWalletKey(address, privateKey); |
|
|
|
|
// btcAddressSetRedisUtils.insert(address);
|
|
|
|
|
// btcWalletKeyService.insertWalletKey(address, privateKey);
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
throw new BtcException(BtcEnums.CREATE_WALLET_ERROR); |
|
|
|
|
} |
|
|
|
|