[FEATURE] Get and set last payment hash in database.

[FOLD] Use plain getColdWallet function.

[FOLD] Set current hash not previous hash.