Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
chris124567 committed Sep 18, 2024
1 parent 0b7f683 commit 59d0c08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,9 @@ func NewServer(e Explorer, cm ChainManager, s Syncer) http.Handler {

"GET /blocks/:id": srv.blocksIDHandler,

"GET /transactions/:id": srv.transactionsIDHandler,
"POST /transactions": srv.transactionsBatchHandler,
"GET /transactions/:id/indices": srv.transactionsIDIndicesHandler,
"GET /transactions/:id": srv.transactionsIDHandler,
"POST /transactions": srv.transactionsBatchHandler,
"GET /transactions/:id/indices": srv.transactionsIDIndicesHandler,

"GET /addresses/:address/utxos/siacoin": srv.addressessAddressUtxosSiacoinHandler,
"GET /addresses/:address/utxos/siafund": srv.addressessAddressUtxosSiafundHandler,
Expand Down
2 changes: 1 addition & 1 deletion persist/sqlite/consensus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2478,7 +2478,7 @@ func TestMultipleReorg(t *testing.T) {

func TestMultipleReorgFileContract(t *testing.T) {
log := zaptest.NewLogger(t)
dir := "./"
dir := t.TempDir()

db, err := sqlite.OpenDatabase(filepath.Join(dir, "explored.sqlite3"), log.Named("sqlite3"))
if err != nil {
Expand Down

0 comments on commit 59d0c08

Please sign in to comment.