good morning!!!!

Skip to content
Snippets Groups Projects
Commit fee9aecf authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

more tests for remote update

parent ccda1aac
No related branches found
No related tags found
No related merge requests found
......@@ -78,4 +78,12 @@ func TestRemoteNonceChange(t *testing.T) {
if nonce != 200 {
t.Error("expected nonce after remote update to be", 201, "got", nonce)
}
ms.NewNonce(addr)
ms.NewNonce(addr)
ms.NewNonce(addr)
ms.StateDB.stateObjects[string(addr)].nonce = 200
nonce = ms.NewNonce(addr)
if nonce != 204 {
t.Error("expected nonce after remote update to be", 201, "got", nonce)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment