Commit ec86e5a
authored
Fix moved signer value in "Getting started" example (#166)
Currently example in "_Getting started_" doesn't build as `signer` value
is moved when `provider` is initialized before address is got from the
signer. This fixes this by moving `from_address` below signer
initialization so it's got before passing signer to the provider.1 parent c8a8ddc commit ec86e5a
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
123 | | - | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| |||
0 commit comments