Skip to content

Commit

Permalink
refactor(SPV-1095): add comment to sync merkleroots method
Browse files Browse the repository at this point in the history
  • Loading branch information
dzolt-4chain committed Oct 2, 2024
1 parent c50c986 commit 3b702a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sync_merkleroots.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type Repository interface {
SaveMerkleRoots(syncedMerkleRoots []MerkleRoot) error
}

// SyncMerkleRoots syncs merkleroots known to spv-wallet with the client database
func (wc *WalletClient) SyncMerkleRoots(ctx context.Context, repo Repository) error {
lastEvaluatedKey := repo.GetLastEvaluatedKey()
requestPath := "merkleroots"
Expand Down

0 comments on commit 3b702a9

Please sign in to comment.