Skip to content

Commit

Permalink
test direct swap
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmcl committed Jan 29, 2024
1 parent b6df6e2 commit 4913964
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/KukaiCoreSwift/Models/RPC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ extension RPC where T == OperationResponse {
return nil
}

return RPC<OperationResponse>(endpoint: "chains/main/blocks/head/helpers/scripts/run_operation", payload: payloadData, responseType: OperationResponse.self)
//return RPC<OperationResponse>(endpoint: "chains/main/blocks/head/helpers/scripts/run_operation", payload: payloadData, responseType: OperationResponse.self)
return RPC<OperationResponse>(endpoint: "chains/main/blocks/head/helpers/scripts/simulate_operation", payload: payloadData, responseType: OperationResponse.self)
}
}

Expand Down

0 comments on commit 4913964

Please sign in to comment.