<p>Ensure that your <code>WalletAppKit</code> is resyncing with the network after the server restarts.  After the wallet is back online, you can explicitly query the transaction status using the transaction hash.<br />
Review the logs from your <code>WalletAppKit</code> for any messages related to syncing and transaction events.
And ensure that your server has a stable and active connection to the TestNet.</p>

CC BY-SA 4.0
2023-12-08T08:18:47.693Z
2023-12-08T08:18:47.693Z
Mani T
<p>Try synchronizing your wallet again, you can delete the file <strong><em>.spvchain</em></strong></p>

CC BY-SA 4.0
2020-02-26T20:20:12.843Z
2020-02-26T20:20:12.843Z
Jose Luis Estevez
<p>Using bitcoinj, my server created a transaction and it was broadcasted on the blockchain. I can get its history using: walletAppKit.wallet().getTransaction(txHash)</p>

<p>It is in Pending state. </p>

<p>Then I stopped my server before the transaction get confirmed. </p>

<p>Then I started the server again, and I was still getting Pending status when calling walletAppKit.wallet().getTransaction(txHash), although the status is well confirmed on explorer like <a href="https://live.blockcypher.com/" rel="nofollow noreferrer">https://live.blockcypher.com/</a></p>

<p>I understand that when server was down, there was no more listener for change events on that wallet/transaction. But the question is how make my wallet aware again about the new change of my transaction status after my server restart?</p>

<p>(I am on TestNet by the way)</p>

<transactions><wallet><bitcoinj>
BITCOINJ: how to make my wallet aware again about change of my transaction status after my server restart?
Ayoub
# BITCOINJ: how to make my wallet aware again about change of my transaction status after my server restart?

(Asked by: username_0 on 2020-01-16)

Using bitcoinj, my server created a transaction and it was broadcasted on the blockchain. I can get its history using: walletAppKit.wallet().getTransaction(txHash)

It is in Pending state.

Then I stopped my server before the transaction get confirmed.

Then I started the server again, and I was still getting Pending status when calling walletAppKit.wallet().getTransaction(txHash), although the status is well confirmed on explorer like <https://live.blockcypher.com/>

I understand that when server was down, there was no more listener for change events on that wallet/transaction. But the question is how make my wallet aware again about the new change of my transaction status after my server restart?

(I am on TestNet by the way)

**Tags:** transactions, wallet, bitcoinj


---

## 2 answers

### Answer by username_1 on 2023-12-08. Score: 0

Ensure that your `WalletAppKit` is resyncing with the network after the server restarts. After the wallet is back online, you can explicitly query the transaction status using the transaction hash.  
Review the logs from your `WalletAppKit` for any messages related to syncing and transaction events.
And ensure that your server has a stable and active connection to the TestNet.


---

### Answer by username_2 on 2020-02-26. Score: 0

Try synchronizing your wallet again, you can delete the file ***.spvchain***


---

