diff options
author | obscuren <geffobscura@gmail.com> | 2014-11-10 08:17:31 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-11-10 08:17:31 +0800 |
commit | cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f (patch) | |
tree | 95db04f468e66ebb26afd81bc72abea8fbcf7c0e /chain/transaction.go | |
parent | f538ea25e46d59dfa225ed105343d9c6a9909c2c (diff) | |
download | dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.gz dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.bz2 dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.lz dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.xz dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.tar.zst dexon-cbeebcd47da846e1b8990313f1ff1ffe7d0bf00f.zip |
Fixed bloom, updated mining & block processing
* Reverted back to process blocks in batches method
* Bloom generation and lookup fix
* Minor UI changed (mainly debug)
Diffstat (limited to 'chain/transaction.go')
-rw-r--r-- | chain/transaction.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chain/transaction.go b/chain/transaction.go index d393f0384..d2d6a8e14 100644 --- a/chain/transaction.go +++ b/chain/transaction.go @@ -117,7 +117,7 @@ func (tx *Transaction) Sender() []byte { // Validate the returned key. // Return nil if public key isn't in full format - if pubkey[0] != 4 { + if len(pubkey) != 0 && pubkey[0] != 4 { return nil } |