Rename package bitcoin to bchain

This commit is contained in:
Martin Boehm
2018-01-31 15:23:17 +01:00
parent 41c6ed8b6f
commit a403b8d0fe
7 changed files with 29 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
package server
import (
"blockbook/bitcoin"
"blockbook/bchain"
"blockbook/db"
"context"
"encoding/json"
@@ -131,7 +131,7 @@ func (s *HttpServer) transactions(w http.ResponseWriter, r *http.Request) {
if err != nil {
respondError(w, err, fmt.Sprintf("address %s", address))
}
script, err := bitcoin.AddressToOutputScript(address)
script, err := bchain.AddressToOutputScript(address)
if err != nil {
respondError(w, err, fmt.Sprintf("address %s", address))
}