Skip to content

Commit

Permalink
fix(bpos): deserialize withdraw map correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
RainFallsSilent committed Sep 25, 2023
1 parent dd839c9 commit c885420
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ $ sudo apt-get install -y git
Install Go distribution.

```bash
$ curl -O https://golang.org/dl/go1.13.15.linux-amd64.tar.gz
$ tar -xvf go1.13.15.linux-amd64.tar.gz
$ curl -O https://golang.org/dl/go1.20.3.linux-amd64.tar.gz
$ tar -xvf go1.20.3.linux-amd64.tar.gz
$ sudo chown -R root:root ./go
$ sudo mv go /usr/local
$ export GOPATH=$HOME/go
Expand Down
1 change: 1 addition & 0 deletions dpos/state/keyframe.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ func (p *StateKeyFrame) deserializeWithdrawableTransactionsMap(r io.Reader) (
if err = withdrawInfo.Deserialize(r); err != nil {
return
}
withdrawableTxsMap[hash] = withdrawInfo
}
return
}
Expand Down

0 comments on commit c885420

Please sign in to comment.