Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
docs: putRaw => db.put
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Apr 27, 2020
1 parent 6653e37 commit 0e1dff3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/classes/_checkpointtrie_.checkpointtrie.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ ___

Creates a checkpoint that can later be reverted to or committed.
After this is called, no changes to the trie will be permanently saved
until `commit` is called. Calling `putRaw` overrides the checkpointing
until `commit` is called. Calling `db.put` overrides the checkpointing
mechanism and would directly write to db.

**Returns:** *void*
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/_secure_.securetrie.md
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ ___

Creates a checkpoint that can later be reverted to or committed.
After this is called, no changes to the trie will be permanently saved
until `commit` is called. Calling `putRaw` overrides the checkpointing
until `commit` is called. Calling `db.put` overrides the checkpointing
mechanism and would directly write to db.

**Returns:** *void*
Expand Down
2 changes: 1 addition & 1 deletion src/checkpointTrie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class CheckpointTrie extends BaseTrie {
/**
* Creates a checkpoint that can later be reverted to or committed.
* After this is called, no changes to the trie will be permanently saved
* until `commit` is called. Calling `putRaw` overrides the checkpointing
* until `commit` is called. Calling `db.put` overrides the checkpointing
* mechanism and would directly write to db.
*/
checkpoint() {
Expand Down

0 comments on commit 0e1dff3

Please sign in to comment.