Skip to content

getEntranceFee is returning 0 #573

Answered by cromewar
naveenburathi asked this question in Q&A
Discussion options

You must be logged in to vote

Well I reviewed everything and also run this on my machine and I wasn't able to reproduce it. May be this hints could help.

  1. Make sure your getPrice() function is ok.
  2. Also if you are testing this on local you must deploy mocks, otherwise it'll be always zero.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by naveenburathi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants