-
Notifications
You must be signed in to change notification settings - Fork 64
Broadcast signed transaction function - Fixes #124 #125
Conversation
index.html
Outdated
@@ -10,7 +10,7 @@ | |||
|
|||
<script src="dist/lisk-js.js"></script> | |||
<script> | |||
"use strict"; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove script tag
test/api/liskApi.js
Outdated
it('should be able to broadcast a finished and signed transaction', function (done) { | ||
|
||
var LSKAPI = lisk.api({testnet: true}); | ||
var amount = 0.001 * Math.pow(10, 8); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting
<pre> | ||
<code class="language-html" data-lang="html"> | ||
var LSK = lisk.api({testnet: true}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks wierd here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the html formating within < code > tags looks weird. But that is necessary for the display.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting issues
All done but the html is necessary to keep like it is.
Fixes #124
Adds the broadcastSignedTransaction function to the API method.