ghost-portal/packages/app-testing/src/subject/nonceSender.js
2018-04-18 16:44:20 +02:00

14 lines
333 B
JavaScript

// Copyright 2017-2018 Jaco Greeff
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// @flow
import BN from 'bn.js';
import { ReplaySubject } from 'rxjs/ReplaySubject';
const subject = new ReplaySubject(1);
subject.next(new BN(0));
export default subject;