aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-02-19 06:55:22 +0800
committerGav Wood <i@gavwood.com>2014-02-19 06:55:22 +0800
commitae48bfdde244e92f5bf093ac3d2b877cca1b7078 (patch)
tree96b1848744db12942ad81245f41f2ae4bb3e1ec3
parentb4bcfdc9baebc9bd3a9c4a1ed4bc055d8c9f6ae2 (diff)
downloaddexon-solidity-ae48bfdde244e92f5bf093ac3d2b877cca1b7078.tar.gz
dexon-solidity-ae48bfdde244e92f5bf093ac3d2b877cca1b7078.tar.zst
dexon-solidity-ae48bfdde244e92f5bf093ac3d2b877cca1b7078.zip
Catch exceptions.
-rw-r--r--vm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.cpp b/vm.cpp
index a6901afe..32259b5e 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -59,6 +59,7 @@ public:
c.receiveAddress = Address();
c.nonce = 0;
c.data = assemble("txsender sload txvalue add txsender sstore stop");
+ // (sstore (add (txvalue (sload txsender))))
c.value = ether;
c.sign(p.secret());
s.execute(c.rlp());