Skip to content

Commit

Permalink
chore: fix some function names (#4877)
Browse files Browse the repository at this point in the history
Signed-off-by: VitalikButerinEth <csyingyu@126.com>
  • Loading branch information
VitalikButerinEth authored May 30, 2024
1 parent fd3bd58 commit a269b48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/ledger/kvledger/history/kv_encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func constructDataKey(ns string, key string, blocknum uint64, trannum uint64) da
return k
}

// constructRangescanKeys returns start and endKey for performing a range scan
// constructRangeScan returns start and endKey for performing a range scan
// that covers all the keys for <ns, key>.
// startKey = namespace~len(key)~key~
// endKey = namespace~len(key)~key~0xff
Expand Down
2 changes: 1 addition & 1 deletion core/ledger/kvledger/history/query_executer.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (scanner *historyScanner) Close() {
scanner.dbItr.Release()
}

// getTxIDandKeyWriteValueFromTran inspects a transaction for writes to a given key
// getKeyModificationFromTran inspects a transaction for writes to a given key
func getKeyModificationFromTran(tranEnvelope *common.Envelope, namespace string, key string) (commonledger.QueryResult, error) {
logger.Debugf("Entering getKeyModificationFromTran %s:%s", namespace, key)

Expand Down

0 comments on commit a269b48

Please sign in to comment.