diff --git a/ethereumj-core/src/main/java/org/ethereum/core/Transaction.java b/ethereumj-core/src/main/java/org/ethereum/core/Transaction.java index 1a1de3cd..40a57d37 100644 --- a/ethereumj-core/src/main/java/org/ethereum/core/Transaction.java +++ b/ethereumj-core/src/main/java/org/ethereum/core/Transaction.java @@ -77,7 +77,7 @@ public class Transaction { /* creation contract tx * [ nonce, gasPrice, gasLimit, 0000000000000000, endowment, init, signature(v, r, s) ] * or simple send tx - * [ nonce, gasPrice, gasLimit, receiveAddress, longValue, data, signature(v, r, s) ] + * [ nonce, gasPrice, gasLimit, receiveAddress, value, data, signature(v, r, s) ] */ public Transaction(byte[] nonce, byte[] gasPrice, byte[] gasLimit, byte[] receiveAddress, byte[] value, byte[] data) { this.nonce = nonce; diff --git a/ethereumj-core/src/main/java/org/ethereum/db/Database.java b/ethereumj-core/src/main/java/org/ethereum/db/Database.java index 97952c27..78e61c28 100644 --- a/ethereumj-core/src/main/java/org/ethereum/db/Database.java +++ b/ethereumj-core/src/main/java/org/ethereum/db/Database.java @@ -15,7 +15,7 @@ import org.slf4j.LoggerFactory; /** * Generic interface for Ethereum database * - * LevelDB key/longValue pair DB implementation will be used. + * LevelDB key/value pair DB implementation will be used. * Choice must be made between: * Pure Java: https://github.com/dain/leveldb * JNI binding: https://github.com/fusesource/leveldbjni @@ -60,12 +60,12 @@ public class Database { } } - /** Insert object(longValue) (key = sha3(longValue)) */ + /** Insert object(value) (key = sha3(value)) */ public void put(byte[] key, byte[] value) { db.put(key, value); } - /** Get object (key) -> longValue */ + /** Get object (key) -> value */ public byte[] get(byte[] key) { return db.get(key); }