Skip to content

Commit

Permalink
Add a pair of lines meant for the last commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Mar 12, 2021
1 parent 83d9999 commit c651fc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Database/Filesystem/Wallet/WalletDB.nim
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ proc setWallet*(
db.put(DATA_TX(data.hash), data.serialize())
if datas.len != 0:
db.put(DATA_TIP(), datas[0].hash.serialize())
else:
db.del(DATA_TIP())
db.wallet = wallet

#Set our miner's nick.
Expand Down

0 comments on commit c651fc9

Please sign in to comment.