Skip to content

How to get right value from "address(this).balance" in local private geth #20804

Closed
@daenamkim

Description

@daenamkim

System information

Geth version: geth version

Geth
Version: 1.9.12-stable
Git Commit: b6f1c8dcc058a936955eb8e5766e2962218924bc
Architecture: amd64
Protocol Versions: [65 64 63]
Go Version: go1.14
Operating System: darwin
GOPATH=/Users/daenamkim/go
GOROOT=/usr/local/opt/go/libexec

OS & Version: Windows/Linux/OSX
image

Expected behaviour

Return right value from address(this).balance

Actual behaviour

Return always 0 from address(this).balance

Steps to reproduce the behaviour

https://gist.github.com/daenamkim/d064bb1ed874d5e2477b179a97a89e93

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions