diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-08-09 16:51:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-09 16:51:01 +0800 |
commit | d6625ac34dad741f5659ca1dad3b0179603d37f0 (patch) | |
tree | b4517c0c73e71c2e521c0f85a461af9feb3d4608 /rpc/notification_test.go | |
parent | b46b36729f1623ee91a2467f31285e33067fa4b8 (diff) | |
parent | e32925397b3110f6dd5e18c79f6641bd2a55776f (diff) | |
download | dexon-d6625ac34dad741f5659ca1dad3b0179603d37f0.tar dexon-d6625ac34dad741f5659ca1dad3b0179603d37f0.tar.gz dexon-d6625ac34dad741f5659ca1dad3b0179603d37f0.tar.bz2 dexon-d6625ac34dad741f5659ca1dad3b0179603d37f0.tar.lz dexon-d6625ac34dad741f5659ca1dad3b0179603d37f0.tar.xz dexon-d6625ac34dad741f5659ca1dad3b0179603d37f0.tar.zst dexon-d6625ac34dad741f5659ca1dad3b0179603d37f0.zip |
Merge pull request #2891 from fjl/rpc-client-fixes
rpc: client bug fixes
Diffstat (limited to 'rpc/notification_test.go')
-rw-r--r-- | rpc/notification_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/notification_test.go b/rpc/notification_test.go index 280503222..52352848c 100644 --- a/rpc/notification_test.go +++ b/rpc/notification_test.go @@ -34,6 +34,10 @@ type NotificationTestService struct { unblockHangSubscription chan struct{} } +func (s *NotificationTestService) Echo(i int) int { + return i +} + func (s *NotificationTestService) wasUnsubCallbackCalled() bool { s.mu.Lock() defer s.mu.Unlock() |