aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-03 05:18:23 +0800
committerobscuren <geffobscura@gmail.com>2015-01-03 05:18:23 +0800
commit5c82fdc2434c302a2b65a4c7f25fe91b22cd43df (patch)
tree87f44045a531c4bf2223b839e33057d6c445a21e
parent55e55826ee3b763be8805dcdef0468a179619ba1 (diff)
downloaddexon-5c82fdc2434c302a2b65a4c7f25fe91b22cd43df.tar.gz
dexon-5c82fdc2434c302a2b65a4c7f25fe91b22cd43df.tar.zst
dexon-5c82fdc2434c302a2b65a4c7f25fe91b22cd43df.zip
Make sure that the object exists
-rw-r--r--xeth/pipe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/pipe.go b/xeth/pipe.go
index 775d5cfc5..cae6ee1de 100644
--- a/xeth/pipe.go
+++ b/xeth/pipe.go
@@ -139,7 +139,7 @@ func (self *XEth) Transact(key *crypto.KeyPair, to []byte, value, gas, price *et
// Do some pre processing for our "pre" events and hooks
block := self.chainManager.NewBlock(key.Address())
- coinbase := state.GetStateObject(key.Address())
+ coinbase := state.GetOrNewStateObject(key.Address())
coinbase.SetGasPool(block.GasLimit())
self.blockManager.ApplyTransactions(coinbase, state, block, types.Transactions{tx}, true)
Get this to clean up it's Makefile.inc.Jeremy Lea2000-01-305-0/+15 * Fix building of SML/NJ under 4-CURRENT after 1999/7/25.Joseph Koshy2000-01-284-6/+60 * move IPv6-enable python to python+ipv6 and revert origial pythonMunechika SUMIKAWA2000-01-2744-307/+54 * Update to 0.10Yukihiro Nakai2000-01-266-154/+158 * Use ${OSVERSION} instead of ${USE_INET6}.Munechika SUMIKAWA2000-01-263-12/+21 * Update to version 2.62.Steve Price2000-01-242-3/+3 * Unbreak moscow_ml.Chuck Robey2000-01-222-213/+236 * Use byacc instead of bison.John Polstra2000-01-211-0/+38 * Add 'ipv6' on CATEGORIES.Munechika SUMIKAWA2000-01-1818-18/+18 * Oops, forgot to update the checksum file.Thomas Gellekum2000-01-1815-30/+30 * On second thought, put back DIST_SUBDIR. It's not only used for theThomas Gellekum2000-01-1815-0/+15 * Upgrade to the 2000-01-10 GCC 2.96 development snapshot.David E. O'Brien2000-01-17144-1602/+1512 * Update version to 5d2.R. Imura2000-01-154-136/+182 * - Merge scripts/configure into MakefileR. Imura2000-01-152-8/+11 * - Merge scripts/configure into MakefileR. Imura2000-01-152-13/+21 * - Support IPv6.Munechika SUMIKAWA2000-01-1346-45/+301 * Support IPv6Munechika SUMIKAWA2000-01-133-0/+9 * s/X11_BASE/X11BASE/.Thomas Gellekum2000-01-1015-15/+15 * Update objc to version 3.1.5Chuck Robey2000-01-104-36/+12 * Fix about PLIST and i18n.Yukihiro Nakai2000-01-096-14/+2 * Don't include bsd.port.pre.mk twice. This usually is caused by firstSatoshi Asami2000-01-082-2/+2 * Change MAINTAINER address from nacai@iname.comYukihiro Nakai2000-01-073-3/+3 * Fix configure under 3.x when autoconf is not installedChris D. Faulhaber2000-01-071-0/+3 * - Install python-mode.el.Thomas Gellekum2000-01-0630-15/+105 * Update breakage caused by new visibility in -current of lchown(2)Joseph Koshy2000-01-061-5/+40 * Upgrade repo copy of tcl82->tcl83 to tcl 8.3.b1Justin M. Seger2000-01-067-46/+125 * Upgrade to tcl 8.2.3Justin M. Seger2000-01-0515-84/+84 * Add USE_XLIB.Satoshi Asami2000-01-032-0/+2 * Upgrade to 2.61.Vanilla I. Shu2000-01-024-12/+16 * Update to version 6.1.0.Steve Price2000-01-018-1298/+8716 * Change CATEGORIES to 'lang elisp' to match current location.Joseph Koshy1999-12-301-1/+1 * Adding cu-prolog version 3.94.Steve Price1999-12-2911-0/+164 * Moving the starlogo port from java to lang.Steve Price1999-12-297-0/+95 * General comment cleanups.Tim Vanderhoek1999-12-295-5/+5 * Add two missing files.Tim Vanderhoek1999-12-281-0/+2 * Update to version 1.6.2.Steve Price1999-12-287-256/+333 * Thanks to a repository copy (by Satoshi) of pkg/INSTALL.{tcl,wi}shSteve Price1999-12-273-9/+3 * "ports/devel/sml-mode.el" being moved to "ports/lang/sml-mode.el".Joseph Koshy1999-12-271-0/+1 * Re-import sml-mode.el under "ports/lang".Joseph Koshy1999-12-275-0/+72 * Adding yabasic version 2.60.Steve Price1999-12-258-0/+70 * Allow the value of CC to be overridden.Steve Price1999-12-256-8/+200 * remove --prefix=${PREFIX} when GNU_CONFIGURE=yes and other minor cleanupsMichael Haro1999-12-253-13/+10 * Update to 0.9Yukihiro Nakai1999-12-246-156/+174 * Update to version 3.33.Steve Price1999-12-243-5/+4 * * Rearranged configure target.Steve Price1999-12-241-3/+3 * Update to version 1.4.3.Steve Price1999-12-243-5/+5 * Update to version 1.4.3.Steve Price1999-12-249-15/+15 * Allow the value of CC to be overridden.Steve Price1999-12-2415-1/+642 * Fix breakage caused by the recent socklen_t changes in -current.John Polstra1999-12-241-45/+57 * Fix the Modula-3 runtime so it will work with the new largerJohn Polstra1999-12-244-1/+265 * Update to version 2.0.2.Steve Price1999-12-242-4/+4 * Obey the CFLAGS settings.Jean-Marc Zucconi1999-12-232-0/+131 * Hand over to a maintainer with more time available, now that James hasSheldon Hearn1999-12-221-2/+2 * Fix problem that could cause cvsup to abort in some cases.Satoshi Asami1999-12-161-0/+11 * Fix md5 checksumSeiichirou Hiraoka1999-12-111-1/+1 * Fix md5 checksumSeiichirou Hiraoka1999-12-111-1/+1 * Correct the checksum for the bootstrap compiler which I somehow brokeDaniel Eischen1999-12-111-1/+1 * Activate p5-F77Jean-Marc Zucconi1999-12-081-0/+1 * Tells you how to link C programs with Fortran subroutines.Jean-Marc Zucconi1999-12-0810-0/+90 * Upgrade to 0.19.Matthew Hunt1999-12-07