mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-05 16:58:01 +00:00
Refactor RPC submit and submit_json.
This commit is contained in:
committed by
Stefan Thomas
parent
736db4d887
commit
7a66446a9a
@@ -773,7 +773,7 @@ Remote.prototype.submit = function (transaction) {
|
|||||||
else {
|
else {
|
||||||
// Convert the transaction into a request and submit it.
|
// Convert the transaction into a request and submit it.
|
||||||
|
|
||||||
(new Request(this, 'submit_json'))
|
(new Request(this, 'submit'))
|
||||||
.build_path(transaction._build_path)
|
.build_path(transaction._build_path)
|
||||||
.tx_json(transaction.tx_json)
|
.tx_json(transaction.tx_json)
|
||||||
.secret(transaction._secret)
|
.secret(transaction._secret)
|
||||||
|
|||||||
Reference in New Issue
Block a user