multi: rename ReadTx to RTx
This commit is contained in:
44 files changed
+167
-168
No files matched your search
@@ -261,7 +261,7 @@ func (d *DecayedLog) Delete(hash *sphinx.HashPrefix) error {
|
||||
func (d *DecayedLog) Get(hash *sphinx.HashPrefix) (uint32, error) {
|
||||
var value uint32
|
||||
|
||||
err := kvdb.View(d.db, func(tx kvdb.ReadTx) error {
|
||||
err := kvdb.View(d.db, func(tx kvdb.RTx) error {
|
||||
// Grab the shared hash bucket which stores the mapping from
|
||||
// truncated sha-256 hashes of shared secrets to CLTV's.
|
||||
sharedHashes := tx.ReadBucket(sharedHashBucket)
|
||||
|
||||
Reference in new issue
Block a user