mirror of
https://github.com/OutCast3k/coinbin.git
synced 2026-08-01 07:44:46 +02:00
Prevent calling default API when it is not configured to use coinb.in api
This commit is contained in:
+1
-6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user