diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-27 22:42:39 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-27 22:42:39 +0800 |
commit | 43cad6901620ca077e43f195cc5ae4d1c8edb2d0 (patch) | |
tree | 0976ea78d90ae84b179097b90efeaf87ab74e994 /ethchain/keypair.go | |
parent | 308c59320c25845f9668e76559b581e2161fec15 (diff) | |
download | dexon-43cad6901620ca077e43f195cc5ae4d1c8edb2d0.tar dexon-43cad6901620ca077e43f195cc5ae4d1c8edb2d0.tar.gz dexon-43cad6901620ca077e43f195cc5ae4d1c8edb2d0.tar.bz2 dexon-43cad6901620ca077e43f195cc5ae4d1c8edb2d0.tar.lz dexon-43cad6901620ca077e43f195cc5ae4d1c8edb2d0.tar.xz dexon-43cad6901620ca077e43f195cc5ae4d1c8edb2d0.tar.zst dexon-43cad6901620ca077e43f195cc5ae4d1c8edb2d0.zip |
Reworked transaction constructors
Diffstat (limited to 'ethchain/keypair.go')
-rw-r--r-- | ethchain/keypair.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ethchain/keypair.go b/ethchain/keypair.go index 9fdc95972..9daaedbee 100644 --- a/ethchain/keypair.go +++ b/ethchain/keypair.go @@ -34,6 +34,7 @@ func (k *KeyPair) Account() *Account { // Create transaction, creates a new and signed transaction, ready for processing func (k *KeyPair) CreateTx(receiver []byte, value *big.Int, data []string) *Transaction { + /* TODO tx := NewTransaction(receiver, value, data) tx.Nonce = k.account.Nonce @@ -41,6 +42,8 @@ func (k *KeyPair) CreateTx(receiver []byte, value *big.Int, data []string) *Tran tx.Sign(k.PrivateKey) return tx + */ + return nil } func (k *KeyPair) RlpEncode() []byte { |