aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChim Kan <designium@gmail.com>2017-08-25 00:03:27 +0800
committerGitHub <noreply@github.com>2017-08-25 00:03:27 +0800
commitefe9d55ab2a55c0d7465a3de51acb3a7173a1d1a (patch)
tree4ee39e3a4cdf25d1d656e13f52e43ed92b90a4f9 /docs
parentd3fd6a8800ddd15be509971b516bb823bbd93b86 (diff)
downloaddexon-solidity-efe9d55ab2a55c0d7465a3de51acb3a7173a1d1a.tar.gz
dexon-solidity-efe9d55ab2a55c0d7465a3de51acb3a7173a1d1a.tar.zst
dexon-solidity-efe9d55ab2a55c0d7465a3de51acb3a7173a1d1a.zip
Update on the example for BlindAction
In the Mist app, the Blind Action contract cannot compile because it cannot accept implicit conversion of integer to byte32. I just added the conversion method byte32 in line 470 for bid.blindedBid.
Diffstat (limited to 'docs')
-rw-r--r--docs/solidity-by-example.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/solidity-by-example.rst b/docs/solidity-by-example.rst
index 88eaadd5..ca6b970c 100644
--- a/docs/solidity-by-example.rst
+++ b/docs/solidity-by-example.rst
@@ -467,7 +467,7 @@ high or low invalid bids.
}
// Make it impossible for the sender to re-claim
// the same deposit.
- bid.blindedBid = 0;
+ bid.blindedBid = bytes32(0);
}
msg.sender.transfer(refund);
}