mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-19 12:24:19 -04:00
offer creation screen, model updates, confirm comp.
This commit is contained in:
parent
a3bee7652b
commit
3f398755ad
53 changed files with 1261 additions and 1297 deletions
|
@ -170,7 +170,7 @@ public class AccountRegistrationWallet extends Wallet implements WalletEventList
|
|||
public void onTransactionConfidenceChanged(Wallet wallet, Transaction tx)
|
||||
{
|
||||
for (WalletFacade.WalletListener walletListener : walletListeners)
|
||||
walletListener.onConfidenceChanged(tx.getConfidence().numBroadcastPeers(), WalletUtil.getConfirmationDepthInBlocks(this));
|
||||
walletListener.onConfidenceChanged(tx.getConfidence().numBroadcastPeers(), WalletUtil.getConfDepthInBlocks(this));
|
||||
|
||||
log.info("onTransactionConfidenceChanged " + tx.getConfidence().toString());
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ public class AccountRegistrationWallet extends Wallet implements WalletEventList
|
|||
log.info("onScriptsAdded");
|
||||
}
|
||||
|
||||
int getConfirmationNumBroadcastPeers()
|
||||
int getConfNumBroadcastPeers()
|
||||
{
|
||||
Transaction transaction = WalletUtil.getTransaction(this);
|
||||
return (transaction == null || transaction.getConfidence() == null) ? 0 : transaction.getConfidence().numBroadcastPeers();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue