watchtower/multi: move BreachHint to blob pkg
This commit is contained in:
15 files changed
+56
-47
No files matched your search
@@ -516,7 +516,7 @@ func testBackupTask(t *testing.T, test backupTaskTest) {
|
||||
|
||||
// Verify that the breach hint matches the breach txid's prefix.
|
||||
breachTxID := test.breachInfo.BreachTransaction.TxHash()
|
||||
expHint := wtdb.NewBreachHintFromHash(&breachTxID)
|
||||
expHint := blob.NewBreachHintFromHash(&breachTxID)
|
||||
if hint != expHint {
|
||||
t.Fatalf("breach hint mismatch, want: %x, got: %v",
|
||||
expHint, hint)
|
||||
|
||||
Reference in new issue
Block a user