Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Commit

Permalink
fixed incorrect import
Browse files Browse the repository at this point in the history
  • Loading branch information
apisit committed May 7, 2018
1 parent 8266101 commit 20c5630
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions neoutils/mobile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (
)

func TestMintTokensFromMobile(t *testing.T) {
scriptHash := "0xf820184470f1a5f38fa4ecc8db746336b371bda5"
scriptHash := "7c1de0a1fba67cbddbfea27aed370ff2ff35e8b2"

//both of these are whitelisted

//ALL PRIVATE NET TEST ADDRESSES
// wif := "KxDgvEKzgSBPPfuVfw67oPQBSjidEiqTHURKSDL1R7yGaGYAeYnr" // contract owner AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y
// wif := "L2W3eBvPYMUaxDZGEb395HZf26tLPZgU5qN351HpyVSAG1DWgDtx" // AQmq2yU7DupE4VddmEoweKiJFyGhAAEZeH
wif := "L5h6cTh45egotcxFZ2rkF1gv7rLxx9rScfuja9kEVEE9mEj9Uwtv" //AQaZPqcv9Kg2x1eSrF8UBYXLK4WQoTSLH5
wif := "L2W3eBvPYMUaxDZGEb395HZf26tLPZgU5qN351HpyVSAG1DWgDtx" // AQmq2yU7DupE4VddmEoweKiJFyGhAAEZeH
// wif := "L5h6cTh45egotcxFZ2rkF1gv7rLxx9rScfuja9kEVEE9mEj9Uwtv" //AQaZPqcv9Kg2x1eSrF8UBYXLK4WQoTSLH5
//this addresss is not whitelisted
// wif := "L5gmcoaetU6YGSzg4wNqvKBEEAfwCAxWseuL3pxvLvEMZB9WyUYp"
wallet, _ := neoutils.GenerateFromWIF(wif)
Expand All @@ -26,7 +26,8 @@ func TestMintTokensFromMobile(t *testing.T) {
// gas := string(smartcontract.GAS)
amount := float64(2)
remark := "o3x"
utxoEndpoint := "http://localhost:5000/"
// utxoEndpoint := "http://localhost:5000/"
utxoEndpoint := "http://testnet-api.wallet.cityofzion.io/"
networkFeeAmountInGAS := float64(0.0011)

tx, err := neoutils.MintTokensRawTransactionMobile(utxoEndpoint, scriptHash, wif, neo, amount, remark, networkFeeAmountInGAS)
Expand Down
2 changes: 1 addition & 1 deletion neoutils/neorpc/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/http"
"net/url"

"github.com/apisit/btckeygenie/btckey"
"github.com/o3labs/neo-utils/neoutils/btckey"
)

type NEORPCInterface interface {
Expand Down

0 comments on commit 20c5630

Please sign in to comment.