aboutsummaryrefslogtreecommitdiffstats
path: root/examples/storage
diff options
context:
space:
mode:
Diffstat (limited to 'examples/storage')
-rw-r--r--examples/storage/aerospike/storage.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/storage/aerospike/storage.go b/examples/storage/aerospike/storage.go
index a62d1dc..a9312ce 100644
--- a/examples/storage/aerospike/storage.go
+++ b/examples/storage/aerospike/storage.go
@@ -144,6 +144,10 @@ type TxObjectStorage struct {
Storage *ObjectStorage
}
+func (tx *TxObjectStorage) Get(t core.ObjectType, h core.Hash) (core.Object, error) {
+ return tx.Storage.Get(t, h)
+}
+
func (tx *TxObjectStorage) Set(obj core.Object) (core.Hash, error) {
return tx.Storage.Set(obj)
}