watchtower: fix comments on breach hint and key
This commit is contained in:
1 parent
e488002db5
commit
54b30423a3
3 files changed
+4
-3
No files matched your search
@@ -652,7 +652,7 @@ func testBackupTask(t *testing.T, test backupTaskTest) {
|
||||
hint, encBlob, err := task.craftSessionPayload(test.signer)
|
||||
require.NoError(t, err, "unable to craft session payload")
|
||||
|
||||
// Verify that the breach hint matches the breach txid's prefix.
|
||||
// Verify that the breach hint matches the prefix of SHA256(txid).
|
||||
breachTxID := test.breachInfo.BreachTxHash
|
||||
expHint := blob.NewBreachHintFromHash(&breachTxID)
|
||||
require.Equal(t, expHint, hint)
|
||||
|
||||
Reference in new issue
Block a user