mirror of
https://github.com/OutCast3k/coinbin.git
synced 2026-01-07 16:45:24 +01:00
Prevent calling default API when it is not configured to use coinb.in api
This commit is contained in:
parent
87bfa19ce8
commit
306bf3cae9
@ -7,6 +7,7 @@ $(document).ready(function() {
|
||||
$("#coinjs_utxo").val(default_api);
|
||||
configureBroadcast();
|
||||
configureGetUnspentTx();
|
||||
|
||||
defaultConfig = true;
|
||||
}
|
||||
|
||||
@ -1295,12 +1296,6 @@ $(document).ready(function() {
|
||||
}
|
||||
});
|
||||
|
||||
/* broadcast a transaction */
|
||||
|
||||
$("#rawSubmitBtn").click(function(){
|
||||
rawSubmitDefault(this);
|
||||
});
|
||||
|
||||
// broadcast transaction via coinbin (default)
|
||||
function rawSubmitDefault(btn){
|
||||
var thisbtn = btn;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user