*: use nativehashes package where possible
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
2d3d52e3d0
commit
ec6fc54bc6
10 changed files with 20 additions and 23 deletions
|
@ -9,8 +9,7 @@ package oracle
|
|||
import (
|
||||
"math/big"
|
||||
|
||||
"github.com/nspcc-dev/neo-go/pkg/core/native/nativenames"
|
||||
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
||||
"github.com/nspcc-dev/neo-go/pkg/core/native/nativehashes"
|
||||
"github.com/nspcc-dev/neo-go/pkg/core/transaction"
|
||||
"github.com/nspcc-dev/neo-go/pkg/neorpc/result"
|
||||
"github.com/nspcc-dev/neo-go/pkg/rpcclient/unwrap"
|
||||
|
@ -32,7 +31,7 @@ type Actor interface {
|
|||
}
|
||||
|
||||
// Hash stores the hash of the native OracleContract contract.
|
||||
var Hash = state.CreateNativeContractHash(nativenames.Oracle)
|
||||
var Hash = nativehashes.Oracle
|
||||
|
||||
const priceSetter = "setPrice"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue