mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +00:00
Make a couple more Wallet methods public.
This commit is contained in:
parent
11a87317a4
commit
2b3e77bea9
@ -890,7 +890,7 @@ public class Wallet implements Serializable {
|
||||
* Transaction objects which are equal. The wallet is not updated to track its pending status or to mark the
|
||||
* coins as spent until commitTx is called on the result.
|
||||
*/
|
||||
synchronized Transaction createSend(Address address, BigInteger nanocoins) {
|
||||
public synchronized Transaction createSend(Address address, BigInteger nanocoins) {
|
||||
return createSend(address, nanocoins, getChangeAddress());
|
||||
}
|
||||
|
||||
@ -997,7 +997,7 @@ public class Wallet implements Serializable {
|
||||
* our coins. This should be an address we own (is in the keychain).
|
||||
* @return a new {@link Transaction} or null if we cannot afford this send.
|
||||
*/
|
||||
synchronized Transaction createSend(Address address, BigInteger nanocoins, Address changeAddress) {
|
||||
public synchronized Transaction createSend(Address address, BigInteger nanocoins, Address changeAddress) {
|
||||
log.info("Creating send tx to " + address.toString() + " for " +
|
||||
bitcoinValueToFriendlyString(nanocoins));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user