Browse Source

fix example.html

patch-2
Matias Alejo Garcia 11 years ago
parent
commit
9072a4feab
  1. 2
      examples/CreateAndSignTx.js
  2. 7
      examples/example.html

2
examples/CreateAndSignTx.js

@ -2,7 +2,7 @@
var run = function() {
var bitcore = require('../bitcore');
bitcore = bitcore || require('../bitcore');
var priv = 'cTgGUrcro89yUtKeG6gHBAS14r3qp25KwTTxG9d4kEzcFxecuZDm';
var amt = '0.005';

7
examples/example.html

@ -90,7 +90,12 @@
print("Private: " + o.priv);
print("Public: " + o.pub);
print("Addr: " + o.addr);
var module = { exports: {} };
</script>
<script src="./CreateAndSignTx.js"></script>
<script>
run();
</script>
<script src="./createTx.js"></script>
</body>
</html>

Loading…
Cancel
Save