mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-20 10:12:19 +01:00
Minor cleanup in a wallet unit test
This commit is contained in:
parent
b7bac50fa1
commit
4b31e6c56e
@ -1711,10 +1711,11 @@ public class WalletTest extends TestWithWallet {
|
||||
receiveATransactionAmount(wallet, myAddress, Coin.COIN);
|
||||
Transaction tx = new Transaction(params);
|
||||
Address notMyAddr = new ECKey().toAddress(params);
|
||||
tx.addOutput(COIN.CENT.subtract(SATOSHI), notMyAddr);
|
||||
tx.addOutput(COIN.CENT.subtract(SATOSHI), notMyAddr);
|
||||
tx.addOutput(COIN.CENT.subtract(SATOSHI), notMyAddr);
|
||||
tx.addOutput(COIN.CENT.subtract(SATOSHI), notMyAddr);
|
||||
Coin c = CENT.subtract(SATOSHI);
|
||||
tx.addOutput(c, notMyAddr);
|
||||
tx.addOutput(c, notMyAddr);
|
||||
tx.addOutput(c, notMyAddr);
|
||||
tx.addOutput(c, notMyAddr);
|
||||
SendRequest request = Wallet.SendRequest.forTx(tx);
|
||||
wallet.completeTx(request);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user